summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2017-07-16 10:40:56 +0200
committerThomas Sachau <tommy@gentoo.org>2017-07-16 10:40:56 +0200
commit8608b572bcfca67c73d0bf28e4f4899aa7d71814 (patch)
treef662c685850128ed0f75f2258ea21320d917c1c5 /net-p2p/freenet/files
parentruby-fakegem.eclass: use dodoc to install documentation files (diff)
downloadgentoo-8608b572bcfca67c73d0bf28e4f4899aa7d71814.tar.gz
gentoo-8608b572bcfca67c73d0bf28e4f4899aa7d71814.tar.bz2
gentoo-8608b572bcfca67c73d0bf28e4f4899aa7d71814.zip
net-p2p/freenet: Update /etc/init.d/freenet to use --user instead of --chuid
Diffstat (limited to 'net-p2p/freenet/files')
-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 ef90f226bfb7..cfbfa767732e 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 /bin/sh /var/freenet/run.sh start 2>/dev/null
+ start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh start 2>/dev/null
eend 0
}
status() {
- start-stop-daemon --start --chuid freenet --exec /bin/sh /var/freenet/run.sh status 2>/dev/null
+ start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh status 2>/dev/null
eend 0
}
stop() {
- start-stop-daemon --start --chuid freenet --exec /bin/sh /var/freenet/run.sh stop 2>/dev/null
+ start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh stop 2>/dev/null
eend 0
}