mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
20 lines
610 B
Desktop File
20 lines
610 B
Desktop File
[Unit]
|
|
Description=AdGuard Home: Network-level blocker
|
|
ConditionFileIsExecutable=__FINALPATH__/AdGuardHome
|
|
After=syslog.target network-online.target
|
|
|
|
[Service]
|
|
User=__APP__
|
|
Group=__APP__
|
|
StartLimitInterval=5
|
|
StartLimitBurst=10
|
|
ExecStart=__FINALPATH__/AdGuardHome/AdGuardHome -s start -c __FINALPATH__/AdGuardHome/AdGuardHome.yaml -w __FINALPATH__ -h 127.0.0.1 -p __PORT__
|
|
WorkingDirectory=__FINALPATH__/AdGuardHome
|
|
#StandardOutput=file:/var/log/__APP__.out
|
|
#StandardError=file:/var/log/__APP__.err
|
|
Restart=always
|
|
RestartSec=10
|
|
#EnvironmentFile=-/etc/sysconfig/AdGuardHome
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|