summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/freenet/files/freenet')
-rw-r--r--net-p2p/freenet/files/freenet6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-p2p/freenet/files/freenet b/net-p2p/freenet/files/freenet
index 8236bdab9..138bf53d2 100644
--- a/net-p2p/freenet/files/freenet
+++ b/net-p2p/freenet/files/freenet
@@ -3,16 +3,16 @@
# Distributed under the terms of the GNU General Public License v2
start() {
- start-stop-daemon --start --chuid freenet --exec /opt/freenet/run.sh start
+ start-stop-daemon --start --chuid freenet --exec /bin/sh /opt/freenet/run.sh start 2>/dev/null
eend 0
}
status() {
- start-stop-daemon --start --chuid freenet --exec /opt/freenet/run.sh status
+ start-stop-daemon --start --chuid freenet --exec /bin/sh /opt/freenet/run.sh status 2>/dev/null
eend 0
}
stop() {
- start-stop-daemon --start --chuid freenet --exec /opt/freenet/run.sh stop
+ start-stop-daemon --start --chuid freenet --exec /bin/sh /opt/freenet/run.sh stop 2>/dev/null
eend 0
}