more init scripts
This commit is contained in:
parent
dcd8e49f85
commit
2837ab9389
|
@ -0,0 +1,21 @@
|
|||
#!/sbin/runscript
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns localmount chaosc
|
||||
after bootmisc
|
||||
provide dump_grabber
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
ebegin "starting dump_grabber"
|
||||
start-stop-daemon --start --pidfile /var/run/dump_grabber.pid --make-pidfile --user stefan --group stefan --background --exec env DISPLAY=:0 /usr/bin/dump_grabber
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "stopping dump_grabber"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/dump_grabber.pid
|
||||
eend $?
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
#!/sbin/runscript
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns localmount chaosc
|
||||
after bootmisc
|
||||
provide ekgplotter
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
ebegin "starting ekgplotter"
|
||||
start-stop-daemon --start --pidfile /var/run/ekgplotter.pid --make-pidfile --user stefan --group stefan --background --exec env DISPLAY=:0 /usr/bin/ekgplotter
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "stopping ekgplotter"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/ekgplotter.pid
|
||||
eend $?
|
||||
}
|
Loading…
Reference in New Issue