mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
yggdrasil: stop properly
Previously it was using killall with procd respand enabled This was causing yggdrasil to restart after being killed root@r3test-hap:/# service yggdrasil stop ; echo $? ; sleep 10s ; ps | grep yggdrasil Terminated 143 6701 root 653m S /usr/sbin/yggdrasil -useconffile /tmp/yggdrasil.conf 6748 root 1308 S grep yggdrasil Now it's just using whatever procd is using and see there, it actually stops root@r3test-hap:/# service yggdrasil stop ; echo $? ; sleep 10s ; ps | grep yggdrasil 0 6802 root 1308 S grep yggdrasil I assume there was some procd bug that kept it from being used properly Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
This commit is contained in:
committed by
David Bauer
parent
49dbf87f1f
commit
db1ee5746c
@@ -22,11 +22,6 @@ start_service()
|
|||||||
procd_close_instance
|
procd_close_instance
|
||||||
}
|
}
|
||||||
|
|
||||||
stop_service()
|
|
||||||
{
|
|
||||||
killall yggdrasil
|
|
||||||
}
|
|
||||||
|
|
||||||
reload_service()
|
reload_service()
|
||||||
{
|
{
|
||||||
restart
|
restart
|
||||||
|
|||||||
Reference in New Issue
Block a user