debmaker/ressources/adguardhome/rootfs/usr/lib/systemd/system/adguardhome.service
2022-03-22 22:24:15 +01:00

17 lines
384 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 $ADGH_OPTS
WorkingDirectory=/var/lib/adguardhome
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target