Skip to content
Snippets Groups Projects
Verified Commit 01f4c0bb authored by Varac's avatar Varac
Browse files

Add systemd service file

parent e7066072
No related branches found
No related tags found
No related merge requests found
[Unit]
Description=Opensprinkler prometheus exporter
After=syslog.target network.target
[Service]
EnvironmentFile=-/etc/default/opensprinkler_prometheus_exporter
ExecStart=/usr/local/src/opensprinkler_prometheus_exporter/opensprinkler_prometheus_exporter.py
StartLimitInterval=5
StartLimitBurst=10
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment