mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
BB: hook questd up to procd
This commit is contained in:
parent
45fc69129a
commit
9038bf85f3
1 changed files with 11 additions and 5 deletions
|
|
@ -2,14 +2,20 @@
|
|||
|
||||
START=14
|
||||
|
||||
SERVICE_DAEMONIZE=1
|
||||
SERVICE_WRITE_PID=1
|
||||
USE_PROCD=1
|
||||
NAME=questd
|
||||
PROG=/sbin/questd
|
||||
|
||||
start() {
|
||||
service_start /sbin/questd
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command "$PROG"
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /sbin/questd
|
||||
service_stop /sbin/questd
|
||||
}
|
||||
|
||||
reload() {
|
||||
service_reload /sbin/questd
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue