summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-04-02 13:25:36 +0200
committermakefu <github@syntax-fehler.de>2014-04-02 13:25:36 +0200
commit6d78922eddbbb24d812973558355a74d2bd786c7 (patch)
treea03f8289fbeffdf986303a5743a28debd819c3a6 /sites
parentc86af633250aa01ef993322ab39efecb73da776f (diff)
graphite-web.service: make startup more robust
Diffstat (limited to 'sites')
-rw-r--r--sites/elchstats.nsupdate.info/graphite-web.service4
1 files changed, 3 insertions, 1 deletions
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