aboutsummaryrefslogtreecommitdiffstats
path: root/main/uwsgi/uwsgi.initd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-11-13 22:59:26 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-11-13 23:04:01 +0100
commit855d7eeff4f62e630213bfe1110271dfed73e20b (patch)
treed87708b56763c86e6b4ead0e8589b429abfddbd8 /main/uwsgi/uwsgi.initd
parented0227bbb0fe08370d867cd56e60a28f6dfa318c (diff)
main/uwsgi: allow to override retry from confd file
Diffstat (limited to 'main/uwsgi/uwsgi.initd')
-rw-r--r--main/uwsgi/uwsgi.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/uwsgi/uwsgi.initd b/main/uwsgi/uwsgi.initd
index 95821babcac..9e76358fd41 100644
--- a/main/uwsgi/uwsgi.initd
+++ b/main/uwsgi/uwsgi.initd
@@ -6,6 +6,7 @@
# variable uwsgi_opts or config file specified by variable uwsgi_conf.
: ${pidfile:="/run/$RC_SVCNAME/uwsgi.pid"}
+: ${retry:="INT/30/KILL/5"}
: ${wait:=200} # milliseconds
extra_started_commands='reload stats'
@@ -16,7 +17,6 @@ command='/usr/sbin/uwsgi'
command_args="--die-on-term ${uwsgi_opts:-}"
command_background='yes'
start_stop_daemon_args="--quiet --wait $wait"
-retry='INT/30/KILL/5'
if [ "$RC_SVCNAME" = 'uwsgi' ]; then
: ${name:="uWSGI emperor"}