Do also not hard code the pid file location.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4266 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -17,6 +17,7 @@ set -e
|
||||
prefix=@prefix@
|
||||
exec_prefix=@prefix@
|
||||
sbindir=@sbindir@
|
||||
localstatedir=@localstatedir@
|
||||
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC="network connection manager"
|
||||
@@ -24,7 +25,7 @@ NAME="NetworkManager"
|
||||
|
||||
DAEMON=${sbindir}/$NAME
|
||||
|
||||
PIDDIR=/var/run/NetworkManager
|
||||
PIDDIR=${localstatedir}/run/NetworkManager
|
||||
PIDFILE=$PIDDIR/$NAME.pid
|
||||
|
||||
USER=root
|
||||
|
Reference in New Issue
Block a user