2022-02-27 00:50:15 +01:00
|
|
|
[Unit]
|
|
|
|
Description=AdGuard Home: Network-level blocker
|
|
|
|
ConditionFileIsExecutable=/usr/bin/adguardhome
|
|
|
|
After=syslog.target network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2022-03-22 22:24:15 +01:00
|
|
|
EnvironmentFile=/etc/default/adguardhome
|
2022-02-27 00:50:15 +01:00
|
|
|
StartLimitInterval=5
|
|
|
|
StartLimitBurst=10
|
2022-03-22 22:24:15 +01:00
|
|
|
ExecStart=/usr/bin/adguardhome $ADGH_OPTS
|
2022-02-27 00:50:15 +01:00
|
|
|
WorkingDirectory=/var/lib/adguardhome
|
|
|
|
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|