]> git.pld-linux.org Git - packages/gearmand.git/commitdiff
use gearmand itself to switch user in sysv mode
authorElan Ruusamäe <glen@delfi.ee>
Wed, 27 Jan 2016 22:36:30 +0000 (00:36 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 27 Jan 2016 22:36:30 +0000 (00:36 +0200)
gearmand.init
gearmand.spec

index 3cd1935c4ad955823932b83c14550e0ec87af991..63beacbd2e862bd053d4c38087c98f3fe7e6d70c 100755 (executable)
@@ -45,7 +45,7 @@ start() {
        fi
 
        msg_starting "Gearmand job server"
-       daemon --pidfile $pidfile --user gearmand $gearmand -d --pid-file=$pidfile $OPTIONS
+       daemon --pidfile $pidfile $gearmand -d --user=gearmand --pid-file=$pidfile $OPTIONS
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch $lockfile
 }
index 99b535f4e92b59bbec8294e9c1318bedba343006..c91f261ba698de355acd7e9ed85fc195e9dcbb71 100644 (file)
@@ -23,7 +23,7 @@
 Summary:       A distributed job system
 Name:          gearmand
 Version:       1.1.12
-Release:       0.2
+Release:       0.3
 License:       BSD
 Group:         Daemons
 Source0:       https://launchpad.net/gearmand/1.2/%{version}/+download/%{name}-%{version}.tar.gz
This page took 0.095706 seconds and 4 git commands to generate.