Correct piddir usage

Package-Manager: portage-2.2.7
RepoMan-Options: --force
This commit is contained in:
Mario Fetka
2014-01-18 09:31:04 +01:00
parent 6087b6a67c
commit b37d7af2b4
6 changed files with 14 additions and 11 deletions

View File

@@ -9,12 +9,12 @@ depend() {
start() {
ebegin "Starting Martin Stovers NetWare-Emulator"
eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /run/mars_nwe/nwserv.pid
eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /var/run/mars_nwe/nwserv.pid
eend $?
}
stop() {
ebegin "Stopping Martin Stovers NetWare-Emulator"
start-stop-daemon --stop --quiet --pidfile /run/mars_nwe/nwserv.pid
start-stop-daemon --stop --quiet --pidfile /var/run/mars_nwe/nwserv.pid
eend $?
}

View File

@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=forking
PIDFile=/run/mars_nwe/nwserv.pid
PIDFile=/var/run/mars_nwe/nwserv.pid
ExecStart=/usr/sbin/nwserv
[Install]

View File

@@ -1 +1 @@
d /run/mars_nwe 710 root root
d /var/run/mars_nwe 710 root root