18 lines
328 B
Plaintext
Executable File
18 lines
328 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() {
|
|
use net logger
|
|
before sshd
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting uncloud-init"
|
|
logger /usr/local/bin/uncloud-init > /dev/null
|
|
eend $?
|
|
}
|