diff options
-rw-r--r-- | net-p2p/mimicmod-lan/files/mimicmod-lan.initd | 4 | ||||
-rw-r--r-- | net-p2p/mimicmod/files/mimicmod.initd | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net-p2p/mimicmod-lan/files/mimicmod-lan.initd b/net-p2p/mimicmod-lan/files/mimicmod-lan.initd index 00ca2c8..38ee6d5 100644 --- a/net-p2p/mimicmod-lan/files/mimicmod-lan.initd +++ b/net-p2p/mimicmod-lan/files/mimicmod-lan.initd @@ -9,7 +9,7 @@ description="High performance peer-to-peer hub for the ADC network" description_reload="Reload uHub configuration and re-read log file" command="/usr/bin/uhub" -command_args="${UHUBOPTIONS}" +command_args="-p ${pidfile} ${UHUBOPTIONS}" pidfile="/var/run/uhub.pid" depend() { @@ -23,7 +23,7 @@ start_pre() { stop_post() { - rm ${pidfile} + rm -f ${pidfile} } reload() { diff --git a/net-p2p/mimicmod/files/mimicmod.initd b/net-p2p/mimicmod/files/mimicmod.initd index 00ca2c8..38ee6d5 100644 --- a/net-p2p/mimicmod/files/mimicmod.initd +++ b/net-p2p/mimicmod/files/mimicmod.initd @@ -9,7 +9,7 @@ description="High performance peer-to-peer hub for the ADC network" description_reload="Reload uHub configuration and re-read log file" command="/usr/bin/uhub" -command_args="${UHUBOPTIONS}" +command_args="-p ${pidfile} ${UHUBOPTIONS}" pidfile="/var/run/uhub.pid" depend() { @@ -23,7 +23,7 @@ start_pre() { stop_post() { - rm ${pidfile} + rm -f ${pidfile} } reload() { |