Restart on exit/failure.

This commit is contained in:
Andreas Grimm 2019-02-25 13:22:53 +01:00
parent 2ed7792a20
commit 4f5ed15b98
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ After=network.target
[Service]
ExecStart=/opt/metrics.sh/metrics.sh -c /etc/metrics.sh/metrics.ini
Restart=always
[Install]
WantedBy=multi-user.target