mirror of
https://github.com/gSpotx2f/luci-app-internet-detector.git
synced 2026-01-04 15:48:50 +03:00
Refactoring. Added respawn option to init-script.
This commit is contained in:
@@ -11,6 +11,8 @@ run_instance() {
|
||||
if [ $enabled = "1" ]; then
|
||||
procd_open_instance "$1"
|
||||
procd_set_param command "$PROG" "-a" "nodaemon" "-i" "$1"
|
||||
procd_set_param respawn
|
||||
procd_set_param term_timeout 60
|
||||
procd_close_instance
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user