cdemud: Don't install to/use /var/run.

for/master
Wulf C. Krueger 2012-05-20 20:38:19 +02:00 committed by Daniel Mierswa
parent 7f5c604ae7
commit a2abbb6edc
1 changed files with 8 additions and 8 deletions

View File

@ -28,20 +28,20 @@ cdemud_src_install() {
#!/sbin/runscript
depend() {
after logger
need dbus
after logger
need dbus
}
start() {
ebegin "Starting cdemu daemon"
cdemud \${CDEMUD_OPTS} -d -p /var/run/cdemud.pid
eend \$?
ebegin "Starting cdemu daemon"
cdemud \${CDEMUD_OPTS} -d -p /run/cdemud.pid
eend \$?
}
stop() {
ebegin "Stopping cdemu daemon"
cdemud \${CDEMUD_OPTS} -k -p /var/run/cdemud.pid
eend \$?
ebegin "Stopping cdemu daemon"
cdemud \${CDEMUD_OPTS} -k -p /run/cdemud.pid
eend \$?
}
EOF