From 8acd6512e1142ee80d49065a79fb3386988d7f24 Mon Sep 17 00:00:00 2001 From: Sergey Alirzaev Date: Wed, 26 Feb 2025 03:28:58 +0100 Subject: [PATCH] contrib/openrc: remove SIGHUP logic as it is long gone from the daemon code and unexpectedly kills the daemon --- contrib/openrc/yggdrasil | 7 ------- 1 file changed, 7 deletions(-) diff --git a/contrib/openrc/yggdrasil b/contrib/openrc/yggdrasil index 4a2e0a13..aece8ecb 100755 --- a/contrib/openrc/yggdrasil +++ b/contrib/openrc/yggdrasil @@ -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}"