mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-26 23:17:52 +00:00
contrib/openrc: remove SIGHUP logic (#1236)
as it is long gone from the daemon code and unexpectedly kills the daemon
This commit is contained in:
@@ -6,7 +6,6 @@ CONFFILE="/etc/yggdrasil.conf"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
command="/usr/bin/yggdrasil"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
use net dns logger
|
||||
@@ -42,12 +41,6 @@ start() {
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${RC_SVCNAME}"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${RC_SVCNAME}"
|
||||
start-stop-daemon --stop --pidfile "${pidfile}" --exec "${command}"
|
||||
|
Reference in New Issue
Block a user