You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
350 B
Bash
27 lines
350 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
START=19
|
|
STOP=10
|
|
|
|
USE_PROCD=1
|
|
PROCESS=timerd
|
|
|
|
logger() {
|
|
command logger -t timerd "$@"
|
|
}
|
|
|
|
stop_service() {
|
|
logger "stop"
|
|
}
|
|
|
|
start_service() {
|
|
logger "start"
|
|
|
|
procd_open_instance
|
|
procd_set_param command timerd
|
|
procd_set_param respawn 3600 5 0
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_close_instance
|
|
}
|