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

This commit is contained in:
Wulf C. Krueger 2012-05-20 20:38:19 +02:00 committed by Daniel Mierswa
parent 7f5c604ae7
commit a2abbb6edc

View file

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