feat(packaging): added Restart=on-failure to systemd service spec file

This commit is contained in:
Torkel Ödegaard 2016-01-13 13:57:22 +01:00
parent ed989ecc8d
commit cdd341af64
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ EnvironmentFile=/etc/default/grafana-server
User=grafana
Group=grafana
Type=simple
Restart=on-failure
WorkingDirectory=/usr/share/grafana
ExecStart=/usr/sbin/grafana-server \
--config=${CONF_FILE} \

View File

@ -9,6 +9,7 @@ EnvironmentFile=/etc/sysconfig/grafana-server
User=grafana
Group=grafana
Type=simple
Restart=on-failure
WorkingDirectory=/usr/share/grafana
ExecStart=/usr/sbin/grafana-server \
--config=${CONF_FILE} \