adguard-home/templates/AdGuardHome.service.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 29 May 2021 11:25:11 -0500
changeset 151 9a0b90751216
parent 50 15edca738a31
permissions -rw-r--r--
Updated oragono IRC rename to ergo.

[Unit]
Description=AdGuard Home: Network-level blocker
After=syslog.target network-online.target

[Service]
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/local/bin/AdGuardHome -c /etc/AdGuardHome/AdGuardHome.yaml -w {{adguard_home_data_dir}}

WorkingDirectory={{adguard_home_data_dir}}

StandardOutput=file:/var/log/AdGuardHome.out
StandardError=file:/var/log/AdGuardHome.err
Restart=always
RestartSec=10
EnvironmentFile=-/etc/sysconfig/AdGuardHome

[Install]
WantedBy=multi-user.target