upsc-exporter.service.j2 (246B)
1 [Unit] 2 Description=prometheus upsc exporter daemon 3 After=network.target 4 5 [Service] 6 Type=simple 7 ExecStart=/usr/local/bin/upsc-exporter -p {{ exporter_port }} -ups {{ ups }} 8 KillMode=process 9 Restart=on-failure 10 11 [Install] 12 WantedBy=multi-user.target