mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
feat(packaging): added Restart=on-failure to systemd service spec file
This commit is contained in:
parent
ed989ecc8d
commit
cdd341af64
@ -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} \
|
||||
|
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user