uncloud-init/uncloud-init.rc

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