net-libs/tox: fix init scripts syntax.
authorPavel Frolov <tigrashik@gmail.com>
Sat, 9 Sep 2017 17:11:51 +0000 (20:11 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 27 Oct 2017 23:00:32 +0000 (01:00 +0200)
Closes: https://bugs.gentoo.org/628706
Closes: https://bugs.gentoo.org/622344
Closes: https://github.com/gentoo/gentoo/pull/5674

net-libs/tox/files/initd
net-libs/tox/files/tox-bootstrapd.service

index f08c59457e5ad0010fe9a83c7ec6a08444c788d1..101d3297056fbcddfdec93a21cbe3d3414b1120f 100644 (file)
@@ -15,7 +15,7 @@ start() {
        start-stop-daemon --start \
                --pidfile "${PIDFILE}" \
                --user="${TOX_USER}" --group="${TOX_GROUP}" \
-               --exec /usr/bin/tox-bootstrapd -- /etc/tox-bootstrapd.conf
+               --exec /usr/bin/tox-bootstrapd -- --config /etc/tox-bootstrapd.conf
 
        eend $?
 }
index c841b3c2cd9da7033a907a555cd502845c871a62..ae2f238cd60c4d1361252bfb121633ed667f6f40 100644 (file)
@@ -8,7 +8,7 @@ Group=tox
 RuntimeDirectory=tox-bootstrapd
 PIDFile=/run/tox-bootstrapd/tox-bootstrapd.pid
 WorkingDirectory=/var/lib/tox-bootstrapd
-ExecStart=/usr/bin/tox-bootstrapd /etc/tox-bootstrapd.conf
+ExecStart=/usr/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf
 #CapabilityBoundingSet=CAP_NET_BIND_SERVICE
 
 [Install]