diff options
Diffstat (limited to 'net-im/nextcloud-spreed-signaling/files/ncs_signaling.in')
-rw-r--r-- | net-im/nextcloud-spreed-signaling/files/ncs_signaling.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-im/nextcloud-spreed-signaling/files/ncs_signaling.in b/net-im/nextcloud-spreed-signaling/files/ncs_signaling.in index 2a8dc9b814af..cdd8a1e8a40b 100644 --- a/net-im/nextcloud-spreed-signaling/files/ncs_signaling.in +++ b/net-im/nextcloud-spreed-signaling/files/ncs_signaling.in @@ -16,13 +16,14 @@ name=ncs_signaling rcvar=ncs_signaling_enable - +pidfile="/var/run/${name}.pid" +procname="/usr/local/bin/ncs-signaling" load_rc_config $name : ${ncs_signaling_enable:="NO"} : ${ncs_signaling_config:="%%PREFIX%%/etc/ncs/server.conf"} command=/usr/sbin/daemon -command_args="-u signaling -f -T ncs_signaling -S %%PREFIX%%/bin/ncs-signaling -config $ncs_signaling_config" +command_args="-u signaling -p $pidfile -f -T ncs_signaling -S %%PREFIX%%/bin/ncs-signaling -config $ncs_signaling_config" run_rc_command "$1" |