upsc-exporter.service (274B)
1 [Unit] 2 Description=prometheus upsc exporter daemon 3 After=network.target 4 5 [Service] 6 Type=simple 7 User=upsc_exporter 8 Group=upsc_exporter 9 ExecStart=/usr/local/bin/upsc-exporter -p 8081 -ups ups@localhost 10 KillMode=process 11 Restart=on-failure 12 13 [Install] 14 WantedBy=multi-user.target