mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
yggdrasil: properly call the daemon with procd
Signed-off-by: William Fleurant <meshnet@protonmail.com>
This commit is contained in:
committed by
Yousong Zhou
parent
fee12663cb
commit
9436ff4261
@@ -11,8 +11,10 @@ start_service()
|
||||
|
||||
procd_open_instance
|
||||
procd_set_param respawn
|
||||
procd_set_param command /bin/ash -c "/usr/sbin/yggdrasil -useconffile /etc/yggdrasil.conf | logger -t yggdrasil"
|
||||
|
||||
procd_set_param command /usr/sbin/yggdrasil -useconffile /etc/yggdrasil.conf
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user