[Unit]
Description=Feuerwehr Anwesenheit Service
Requires=local-fs.target
After=local-fs.target
StartLimitIntervalSec=500
StartLimitBurst=5

[Service]
Type=simple
ExecStart=/home/pi/fw-anwesenheit
Restart=on-failure
RestartSec=5
User=root
Group=root
Environment="PM3_BIN=/home/pi/proxmark3/pm3"
RuntimeDirectory=/home/pi

[Install]
WantedBy=multi-user.target