feat: add freebox-exporter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-03-05 09:52:17 +01:00
parent 56a31fa139
commit fed50f498a
3 changed files with 88 additions and 0 deletions

View file

@ -0,0 +1,18 @@
[Unit]
Description=Freebox exporter
Requires=network-online.target
After=network-online.target
[Service]
User=freebox-exporter
Type=simple
WorkingDirectory=/var/lib/freebox-exporter
ExecStart=/usr/bin/freebox-exporter token.json
Restart=on-failure
PrivateDevices=yes
DynamicUser=yes
StateDirectory=freebox-exporter
[Install]
WantedBy=multi-user.target