Remove the limit setting core="unlimited", since this shouldn't be needed in production use (i.e. non-debug) and on an embedded platform, which is why it's rarely used by any existing packages. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
23 lines
424 B
Bash
23 lines
424 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
USE_PROCD=1
|
|
|
|
START=50
|
|
STOP=51
|
|
|
|
PROG=/usr/sbin/stubby
|
|
|
|
start_service() {
|
|
procd_open_instance stubby
|
|
procd_set_param command /usr/sbin/stubby
|
|
|
|
procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
|
|
|
|
procd_set_param file /etc/stubby/stubby.yml
|
|
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_set_param user stubby
|
|
procd_close_instance
|
|
}
|
|
|