debmaker/ressources/adguardhome/rootfs/etc/systemd/system/adguardhome.service
thomas d7aa6ba89c Add adguardhome
Add .gitkeep on empty folder
2022-02-27 00:50:15 +01:00

17 lines
423 B
Desktop File

[Unit]
Description=AdGuard Home: Network-level blocker
ConditionFileIsExecutable=/usr/bin/adguardhome
After=syslog.target network-online.target
[Service]
EnvironmentFile=-/etc/default/adguardhome
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/bin/adguardhome -c /etc/adguardhome.yaml -w /var/lib/adguardhome
WorkingDirectory=/var/lib/adguardhome
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target