You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
473 B
22 lines
473 B
3 weeks ago
|
#!/bin/sh /etc/rc.common
|
||
|
# Init script for vmodem-cghmn
|
||
|
|
||
|
USE_PROCD=1
|
||
|
|
||
|
START=10
|
||
|
STOP=15
|
||
|
|
||
|
start_service () {
|
||
|
procd_open_instance vmodem-cghmn
|
||
|
procd_set_param command /bin/bash /opt/vmodem-cghmn/vmodem-cghmn.sh
|
||
|
|
||
|
procd_set_param respawn "${respawn_threshold:-3600}" "${respawn_timeout:-5}" "${respawn_retry:-5}"
|
||
|
|
||
|
procd_set_param stdout 1
|
||
|
procd_set_param stderr 1
|
||
|
|
||
|
procd_set_param pidfile /var/run/vmodem-cghmn.pid
|
||
|
|
||
|
procd_set_param term_timeout 3
|
||
|
procd_close_instance
|
||
|
}
|