mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-27 13:45:07 +03: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:
parent
5b8dbc8b1e
commit
6377d7f071
1 changed files with 0 additions and 7 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue