Systemd compatibility.

This commit is contained in:
Andreas Grimm
2019-02-20 17:27:02 +01:00
parent be4039d647
commit 3a2fff387d
4 changed files with 17 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Server metrics collector
[Service]
ExecStart=/opt/metrics.sh/metrics.sh -c /etc/metrics.sh/metrics.ini
[Install]
WantedBy=multi-user.target