diff options
author | Paolo Pedroni <paolo.pedroni@iol.it> | 2016-02-16 10:18:36 +0100 |
---|---|---|
committer | Kristian Fiskerstrand <k_f@gentoo.org> | 2016-02-16 18:51:13 +0100 |
commit | 16ea539b0675ae3ed164236d7506f7e7df6af6ee (patch) | |
tree | 2c4455ae286a7075e63e93d0bc3f8bab45a34051 /net-p2p | |
parent | net-p2p/deluge: unquote ${DELUGED_OPTS} in openrc init file (diff) | |
download | gentoo-16ea539b0675ae3ed164236d7506f7e7df6af6ee.tar.gz gentoo-16ea539b0675ae3ed164236d7506f7e7df6af6ee.tar.bz2 gentoo-16ea539b0675ae3ed164236d7506f7e7df6af6ee.zip |
net-p2p/deluge: Use "/run" instead of "/var/run" for pidfiles
Fixes bug #468340
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/deluge/files/deluged.init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init index 49138e01a9d4..f68e40d45c39 100644 --- a/net-p2p/deluge/files/deluged.init +++ b/net-p2p/deluge/files/deluged.init @@ -40,7 +40,7 @@ start() { fi ebegin "Starting Deluged" start-stop-daemon --start --user "${DELUGED_USER%:*}" \ - --name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \ + --name deluged --pidfile /run/deluged.pid --background --make-pidfile \ ${DELUGED_UMASK:+--umask ${DELUGED_UMASK}} \ --exec /usr/bin/deluged -e HOME="${DELUGED_USER_HOME}" -- --do-not-daemonize ${DELUGED_OPTS} eend $? @@ -59,14 +59,14 @@ start() { stop() { ebegin "Stopping Deluged" start-stop-daemon --stop --user "${DELUGED_USER%:*}" \ - --name deluged --pidfile /var/run/deluged.pid + --name deluged --pidfile /run/deluged.pid eend $? if [ "${DELUGEUI_START}" = "true" ] ; then ebegin "Stopping Deluge" start-stop-daemon --stop --user "${DELUGED_USER%:*}" \ - --name deluge --pidfile /var/run/deluge.pid + --name deluge --pidfile /run/deluge.pid eend $? fi } |