Restart on exit/failure.
This commit is contained in:
parent
2ed7792a20
commit
4f5ed15b98
|
@ -5,6 +5,7 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/opt/metrics.sh/metrics.sh -c /etc/metrics.sh/metrics.ini
|
ExecStart=/opt/metrics.sh/metrics.sh -c /etc/metrics.sh/metrics.ini
|
||||||
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue