forked from Elara6331/itd
21 lines
371 B
Plaintext
21 lines
371 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name="itd"
|
|
description="Infinitime Daemon (itd)"
|
|
command="@bindir@/itd"
|
|
pidfile="@piddir@/${RC_SVCNAME}.pid"
|
|
command_user="user:group"
|
|
command_background="yes"
|
|
respawn_period=30
|
|
|
|
depend() {
|
|
after bluetooth
|
|
}
|
|
|
|
reload() {
|
|
checkconfig || return $?
|
|
ebegin "Reloading ${RC_SVCNAME}"
|
|
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
|
eend $?
|
|
}
|