diff options
author | makefu <github@syntax-fehler.de> | 2014-04-02 13:25:36 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-04-02 13:25:36 +0200 |
commit | 6d78922eddbbb24d812973558355a74d2bd786c7 (patch) | |
tree | a03f8289fbeffdf986303a5743a28debd819c3a6 /sites | |
parent | c86af633250aa01ef993322ab39efecb73da776f (diff) |
graphite-web.service: make startup more robust
Diffstat (limited to 'sites')
-rw-r--r-- | sites/elchstats.nsupdate.info/graphite-web.service | 4 |
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 |