OpenRC Script
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

Added openrc script.
This commit is contained in:
hazardchem 2023-01-03 06:13:17 +00:00
parent 5f5c67f7cc
commit 63976af404

20
itd Normal file
View File

@ -0,0 +1,20 @@
#!/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 $?
}