Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little systemd service file (debian) #384

Open
ibksturm opened this issue Oct 17, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ibksturm
Copy link

commented Oct 17, 2018

i wrote on debian a systemd job as a work around

nano /etc/systemd/system/adguard.service

[Unit]
Description=AdGuardHome DNS
#ConditionFileIsExecutable=/etc/AdGuardHome/AduGuardHome

[Service]
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/etc/AdGuardHome/AdGuardHome -c AdGuardHome.yaml

WorkingDirectory=/etc/AdGuardHome

#User=root
#Group=root

#Restart=always
#RestartSec=120
#EnvironmentFile=-/etc/sysconfig/dnscrypt-proxy

[Install]
WantedBy=multi-user.target
systemctl enable adguard.service
systemctl daemon-reload
service adguard start
@omata

This comment has been minimized.

Copy link

commented Oct 18, 2018

Thank you!

It helped me to get AdGuard Home running as expected, with the original service file it didn't work.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.