uncloud-init/uncloud-init.rc

18 lines
326 B
Plaintext
Executable File

#!/sbin/openrc-run
#
# FIXME: I am pretty sure this is not 'right' as I am not familiar with this
# init system and did not bother to read the docs throughoughly.
name="$RC_SVCNAME"
depend() {
need net logger rdnssd
before sshd
}
start() {
ebegin "Starting uncloud-init"
/usr/local/bin/uncloud-init | logger
eend $?
}