From 6d78922eddbbb24d812973558355a74d2bd786c7 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 2 Apr 2014 13:25:36 +0200 Subject: graphite-web.service: make startup more robust --- sites/elchstats.nsupdate.info/graphite-web.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sites/elchstats.nsupdate.info/graphite-web.service') diff --git a/sites/elchstats.nsupdate.info/graphite-web.service b/sites/elchstats.nsupdate.info/graphite-web.service index 4fc25467..798f82ba 100644 --- a/sites/elchstats.nsupdate.info/graphite-web.service +++ b/sites/elchstats.nsupdate.info/graphite-web.service @@ -6,9 +6,11 @@ After=network.target Type=simple User=graphite Group=graphite -RemainAfterExit=yes +#RemainAfterExit=yes Environment=PYTHONPATH=/opt/graphite/webapp ExecStart=/usr/bin/django-admin.py runserver 0.0.0.0:8080 --settings=graphite.settings +TimeoutSec=45s +Restart=always [Install] WantedBy=multi-user.target -- cgit v1.2.3