diff options
author | 2014-07-23 13:18:36 +0200 | |
---|---|---|
committer | 2014-07-23 13:18:36 +0200 | |
commit | 35acb04d223077a9022cb39ba791c46297230ccb (patch) | |
tree | 79df62a740e7c9aca2616acc2f2bbcf08c6ce6d5 | |
parent | Add mimicmod-lan (diff) | |
download | klondike-35acb04d223077a9022cb39ba791c46297230ccb.tar.gz klondike-35acb04d223077a9022cb39ba791c46297230ccb.tar.bz2 klondike-35acb04d223077a9022cb39ba791c46297230ccb.zip |
Fix bug in init.d scripts
-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() { |