aboutsummaryrefslogtreecommitdiff
path: root/irc/soju
diff options
context:
space:
mode:
Diffstat (limited to 'irc/soju')
-rw-r--r--irc/soju/Makefile2
-rw-r--r--irc/soju/files/soju.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/irc/soju/Makefile b/irc/soju/Makefile
index c66b220ac6f5..0eb6641e81fb 100644
--- a/irc/soju/Makefile
+++ b/irc/soju/Makefile
@@ -1,7 +1,7 @@
PORTNAME= soju
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc
MAINTAINER= ashish@FreeBSD.org
diff --git a/irc/soju/files/soju.in b/irc/soju/files/soju.in
index f386cb6267d8..a4b8a0c5b85c 100644
--- a/irc/soju/files/soju.in
+++ b/irc/soju/files/soju.in
@@ -25,8 +25,9 @@ desc="Soju IRC bouncer"
command=/usr/sbin/daemon
procname="%%PREFIX%%/bin/soju"
pidfile=/var/run/${name}.pid
-command_args="-P /var/run/daemon_${name}.pid -p $pidfile -u %%USER%% -H -c -f $procname -config ${soju_config}"
+command_args="-P /var/run/daemon_${name}.pid -p $pidfile -u %%USER%% -S -c -T $name -f $procname -config ${soju_config}"
start_precmd="mkdir -p /var/run/soju && chown %%USER%%: /var/run/soju"
+extra_commands="reload"
load_rc_config $name
run_rc_command "$1"