2019-01-09 09:48:23 +01:00
|
|
|
[Unit]
|
2021-07-06 17:45:33 +02:00
|
|
|
Description=AdGuardHome DNS
|
|
|
|
#ConditionFileIsExecutable=/etc/AdGuardHome/AduGuardHome
|
2019-01-09 09:48:23 +01:00
|
|
|
|
|
|
|
[Service]
|
2021-07-06 17:45:33 +02:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
|
|
|
StartLimitInterval=5
|
|
|
|
StartLimitBurst=10
|
2021-07-06 17:47:28 +02:00
|
|
|
WorkingDirectory=__FINALPATH__
|
2021-07-06 17:45:33 +02:00
|
|
|
ExecStart=__FINALPATH__/AdGuardHome -c __FINALPATH__/AdGuardHome.yaml -p __PORT__
|
|
|
|
|
|
|
|
#Restart=always
|
|
|
|
#RestartSec=120
|
|
|
|
#EnvironmentFile=-/etc/sysconfig/dnscrypt-proxy
|
2019-01-09 09:48:23 +01:00
|
|
|
|
|
|
|
[Install]
|
2021-07-06 17:45:33 +02:00
|
|
|
WantedBy=multi-user.target
|