debian/service
raw| 1 | [Unit] |
| 2 | Description=Prometheus Exporter for TPLink Kasa Smart Plugs |
| 3 | Documentation=https://github.com/fffonion/tplink-plug-exporter |
| 4 | After=network-online.target |
| 5 | |
| 6 | [Service] |
| 7 | Restart=always |
| 8 | User=prometheus |
| 9 | EnvironmentFile=/etc/default/prometheus-tplink-plug-exporter |
| 10 | ExecStart=/usr/bin/prometheus-tplink-plug-exporter $ARGS |
| 11 | Type=simple |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |