mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2025-07-02 01:04:16 +00:00
21 lines
370 B
Desktop File
21 lines
370 B
Desktop File
[Unit]
|
|
Description=Feuerwehr Anwesenheit Service
|
|
Requires=local-fs.target
|
|
After=local-fs.target
|
|
StartLimitIntervalSec=500
|
|
StartLimitBurst=5
|
|
OnFailure= fwa-fail.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/bin/fwa
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/var/lib/fwa
|
|
EnvironmentFile=/etc/fwa.env
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|