aboutsummaryrefslogtreecommitdiff
path: root/net-im/nextcloud-spreed-signaling/files/ncs_signaling.in
diff options
context:
space:
mode:
authorJesper Schmitz Mouridsen <jsm@FreeBSD.org>2023-06-06 21:14:25 +0000
committerJesper Schmitz Mouridsen <jsm@FreeBSD.org>2023-06-06 21:25:00 +0000
commit66911fd0a9de93df1dd6864e919bcf4d405caa31 (patch)
tree775d15f160ba5fcef90a4c3a05b0c05bca87b53f /net-im/nextcloud-spreed-signaling/files/ncs_signaling.in
parent8601240492f262268721ae1430aae84db6ef502e (diff)
downloadports-66911fd0a9de93df1dd6864e919bcf4d405caa31.tar.gz
ports-66911fd0a9de93df1dd6864e919bcf4d405caa31.zip
net-im/nextcloud-spreed-signaling: Update to 1.1.2
while here include proposed rc.d script changes PR: 271576 Differential Revision: https://reviews.freebsd.org/D39341
Diffstat (limited to 'net-im/nextcloud-spreed-signaling/files/ncs_signaling.in')
-rw-r--r--net-im/nextcloud-spreed-signaling/files/ncs_signaling.in5
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"