mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
19 lines
426 B
Desktop File
19 lines
426 B
Desktop File
[Unit]
|
|
Description=AdGuard Home: Network-level blocker
|
|
ConditionFileIsExecutable=__INSTALL_DIR__/AdGuardHome
|
|
After=syslog.target network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
StartLimitInterval=5
|
|
StartLimitBurst=10
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
ExecStart=__INSTALL_DIR__/AdGuardHome
|
|
Restart=always
|
|
RestartSec=10
|
|
#EnvironmentFile=-/etc/sysconfig/AdGuardHome
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|