feat: add freebox-exporter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
56a31fa139
commit
fed50f498a
3 changed files with 88 additions and 0 deletions
18
freebox-exporter/freebox-exporter.service
Normal file
18
freebox-exporter/freebox-exporter.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue