debian/service
raw| 1 | [Unit] |
| 2 | Description=Prometheus exporter for HomePlug/Power Line Communication |
| 3 | Documentation=https://github.com/NightTsarina/homeplug_exporter |
| 4 | |
| 5 | [Service] |
| 6 | Restart=always |
| 7 | User=prometheus |
| 8 | EnvironmentFile=/etc/default/prometheus-homeplug-exporter |
| 9 | ExecStart=/usr/bin/prometheus-homeplug-exporter $ARGS |
| 10 | ExecReload=/bin/kill -HUP $MAINPID |
| 11 | TimeoutStopSec=20s |
| 12 | SendSIGKILL=no |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |