2019-01-09 09:48:23 +01:00
|
|
|
[Unit]
|
2023-04-06 09:27:41 +02:00
|
|
|
Description=AdGuardHome: Network-level blocker
|
2023-04-06 09:05:31 +02:00
|
|
|
ConditionFileIsExecutable=__INSTALL_DIR__/AdGuardHome
|
2021-07-06 18:34:47 +02:00
|
|
|
After=syslog.target network-online.target
|
2019-01-09 09:48:23 +01:00
|
|
|
|
|
|
|
[Service]
|
2021-08-30 13:38:27 +02:00
|
|
|
Type=simple
|
2021-07-06 17:45:33 +02:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
|
|
|
StartLimitInterval=5
|
|
|
|
StartLimitBurst=10
|
2023-04-06 09:05:31 +02:00
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
|
|
ExecStart=__INSTALL_DIR__/AdGuardHome
|
2021-07-06 18:34:47 +02:00
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
#EnvironmentFile=-/etc/sysconfig/AdGuardHome
|
2019-01-09 09:48:23 +01:00
|
|
|
|
|
|
|
[Install]
|
2021-07-06 17:45:33 +02:00
|
|
|
WantedBy=multi-user.target
|