[packages/gearmand] use gearmand itself to switch user in sysv mode

glen glen at pld-linux.org
Wed Jan 27 23:36:37 CET 2016


commit 4830b523de51fa1ad8de4fbba2ede22f8ee83139
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 28 00:36:30 2016 +0200

    use gearmand itself to switch user in sysv mode

 gearmand.init | 2 +-
 gearmand.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gearmand.spec b/gearmand.spec
index 99b535f..c91f261 100644
--- a/gearmand.spec
+++ b/gearmand.spec
@@ -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
diff --git a/gearmand.init b/gearmand.init
index 3cd1935..63beacb 100755
--- a/gearmand.init
+++ b/gearmand.init
@@ -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
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gearmand.git/commitdiff/4830b523de51fa1ad8de4fbba2ede22f8ee83139



More information about the pld-cvs-commit mailing list