Changes of Revision 10
[-] | Changed | icinga-mod_gearman.spec |
x 1
2 %endif 3 %__install -D -m0644 %{buildroot}%{_datadir}/mod_gearman/standalone_worker.conf %{buildroot}%{_sysconfdir}/mod_gearman_worker.conf 4 %__install -d %{buildroot}/var/log/mod_gearman_worker 5 +%__install -d %{buildroot}/var/run/mod_gearman 6 7 %clean 8 rm -rf %{buildroot} 9
10 %dir %{_datadir}/mod_gearman 11 %{_datadir}/mod_gearman/standalone_worker.conf 12 %dir %attr(-,%{monitor},%{monitor}) /var/log/mod_gearman_worker 13 +%dir %attr(-,%{monitor},%{monitor}) /var/run/mod_gearman 14 %if 0%{?suse_version} 15 /var/adm/fillup-templates/sysconfig.mod_gearman_worker 16 %endif 17 |
||
[+] | Changed | mod_gearman-worker-config.patch ^ |
@@ -1,11 +1,11 @@ --- extras/standalone_worker.conf.orig 2011-01-29 16:57:12.750005736 +0100 -+++ extras/standalone_worker.conf 2011-01-29 16:58:42.596771204 +0100 ++++ extras/standalone_worker.conf 2011-01-29 17:09:09.834288554 +0100 @@ -77,10 +77,10 @@ #identifier=hostname # Path to the pidfile. -pidfile=./worker.pid -+pidfile=/var/run/mod_gearman_worker.pid ++pidfile=/var/run/mod_gearman/mod_gearman_worker.pid # Path to the logfile. -logfile=./worker.log | ||
[+] | Changed | mod_gearman-worker-suse.init ^ |
@@ -38,7 +38,7 @@ # Check for missing binaries (stale symlinks should not happen) # Note: Special treatment of stop for LSB conformance mod_gearman_worker_BIN=/usr/bin/mod_gearman_worker -PIDFILE=/var/run/mod_gearman_worker.pid +PIDFILE=/var/run/mod_gearman/mod_gearman_worker.pid CONFIG=/etc/mod_gearman_worker.conf test -x $mod_gearman_worker_BIN || { echo "$mod_gearman_worker_BIN not installed"; if [ "$1" = "stop" ]; then exit 0; | ||
[+] | Changed | mod_gearman_worker.sysconfig ^ |
@@ -3,7 +3,7 @@ CONFIG=/etc/mod_gearman_worker.conf # PIDFILE Path -PIDFILE=/var/run/mod_gearman_worker.pid +PIDFILE=/var/run/mod_gearman/mod_gearman_worker.pid # UserID of worker process USERID=%USERID% |