[omd-commits] OMD Git: omd: mod-gearman: removed useless link (fixes #283)

git version control git at mathias-kettner.de
Sat Jul 21 11:10:33 CEST 2012


Module:   omd
Branch:   master
Commit:   673376363fe9ad6f5f65d971dfc047f738e10680
URL:      http://omdistro.org/projects/omd/repository/revisions/673376363fe9ad6f5f65d971dfc047f738e10680

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Sat Jul 21 11:09:43 2012 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Sat Jul 21 11:10:18 2012 +0200

mod-gearman: removed useless link (fixes #283)

---

 .../mod-gearman/skel/etc/init.d/gearman_worker     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/mod-gearman/skel/etc/init.d/gearman_worker b/packages/mod-gearman/skel/etc/init.d/gearman_worker
index 8b36461..350cb49 100644
--- a/packages/mod-gearman/skel/etc/init.d/gearman_worker
+++ b/packages/mod-gearman/skel/etc/init.d/gearman_worker
@@ -37,7 +37,7 @@ case "$1" in
         echo -n "Starting $NAME..."
         mkdir -p ###ROOT###/tmp/run
         mkdir -p ###ROOT###/var/log/gearman
-        cd ###ROOT###/var/log && ln -s gearman mod-gearman 2>/dev/null
+        rm -f ###ROOT###/var/log/mod-gearman/gearman
         CMD="$DAEMON -d --config=$CONFIG --pidfile=$PIDFILE"
         if [ "$USERID" -eq 0 ]; then
             su -s $SHELL - $USER -c  "$CMD"



More information about the omd-commits mailing list