uncloud-init/uncloud-init.rc

17 lines
325 B
Text
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() {
use net logger rdnssd
before sshd
}
start() {
ebegin "Starting uncloud-init"
/usr/local/bin/uncloud-init | logger
eend $?
}