projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Незначительные правки. Добавлен скрипт для проверки состояния и перезапуска отваливши...
[weathermon.git]
/
init.d
/
weathermon
diff --git
a/init.d/weathermon
b/init.d/weathermon
index cb1822acb70932ed615cdf9075d01b0cb2d9638a..802529e5eac7c880abd2941fecd6c34ad71825a4 100755
(executable)
--- a/
init.d/weathermon
+++ b/
init.d/weathermon
@@
-31,7
+31,7
@@
start_service() {
procd_open_instance
procd_set_param command "$PROG"
procd_set_param nice "$NICEPRIO"
procd_open_instance
procd_set_param command "$PROG"
procd_set_param nice "$NICEPRIO"
- procd_set_param respawn
${respawn_threshold:-600} ${respawn_timeout:-5} ${respawn_retry:-5}
+ procd_set_param respawn
procd_close_instance
}
procd_close_instance
}