--- www-apps/trac/files/tracd.initd 2011-12-31 21:17:51.000000000 +0100 +++ www-apps/trac/files/tracd.initd 2013-08-22 01:15:55.000000000 +0200 @@ -1,5 +1,5 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.6 2011/12/31 20:17:51 idl0r Exp $ @@ -13,7 +13,7 @@ start() { # s-s-d to do that. To have correct pid we avoid -d option of tracd and use # --background option of s-s-d. start-stop-daemon --start --user ${TRACD_USER:-tracd} --group ${TRACD_GROUP:-tracd} \ - --pidfile /var/run/tracd.pid --make-pidfile --background \ + --pidfile /run/tracd.pid --make-pidfile --background \ --env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \ --exec /usr/bin/tracd -- \ -p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/} @@ -22,6 +22,6 @@ start() { stop() { ebegin "Stopping tracd" - start-stop-daemon --stop --quiet --pidfile /var/run/tracd.pid + start-stop-daemon --stop --quiet --pidfile /run/tracd.pid eend $? }