mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
18 lines
402 B
Desktop File
18 lines
402 B
Desktop File
[Unit]
|
|
Description=AdGuardHome DNS
|
|
#ConditionFileIsExecutable=/etc/AdGuardHome/AduGuardHome
|
|
|
|
[Service]
|
|
User=__APP__
|
|
Group=__APP__
|
|
StartLimitInterval=5
|
|
StartLimitBurst=10
|
|
WorkingDirectory=__FINALPATH__
|
|
ExecStart=__FINALPATH__/AdGuardHome -c __FINALPATH__/AdGuardHome.yaml -p __PORT__
|
|
|
|
#Restart=always
|
|
#RestartSec=120
|
|
#EnvironmentFile=-/etc/sysconfig/dnscrypt-proxy
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|