aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/uhub/files/uhub.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/uhub/files/uhub.sh.in')
-rw-r--r--net-p2p/uhub/files/uhub.sh.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/net-p2p/uhub/files/uhub.sh.in b/net-p2p/uhub/files/uhub.sh.in
index 7cfd522dde1c..7f8167b5b497 100644
--- a/net-p2p/uhub/files/uhub.sh.in
+++ b/net-p2p/uhub/files/uhub.sh.in
@@ -11,8 +11,6 @@
#
# uhub_enable (bool): Set it to "YES" to enable uhub
# Default is "NO".
-# uhub_conf (path): Set full path to config file.
-# Default is "%%PREFIX%%/etc/uhub/uhub.conf".
# uhub_pidfile (path): Set full path to pid file.
# Default is "/var/run/uhub.pid".
#
@@ -24,12 +22,12 @@ rcvar=`set_rcvar`
load_rc_config $name
-: ${uhub_enable="NO"}
-: ${uhub_conf="%%PREFIX%%/etc/uhub/uhub.conf"}
-: ${uhub_pidfile="/var/run/${name}.pid"}
+: ${uhub_enable:="NO"}
+: ${uhub_flags:="-L -u uhub -g uhub"}
+: ${uhub_pidfile:="/var/run/${name}.pid"}
command=%%PREFIX%%/bin/uhub
-command_args="-fq -c ${uhub_conf} -p ${uhub_pidfile}"
+command_args="-f -p ${uhub_pidfile}"
pidfile=${uhub_pidfile}
required_files=${uhub_conf}
stop_postcmd=stop_postcmd