uncloud-init/uncloud-init.rc

18 lines
325 B
Text
Raw Normal View History

#!/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() {
2020-01-24 11:40:09 +00:00
use net logger rdnssd
before sshd
}
start() {
ebegin "Starting uncloud-init"
2020-01-24 07:50:14 +00:00
/usr/local/bin/uncloud-init | logger
eend $?
}