[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