1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00
adguardhome_ynh/conf/systemd.service

20 lines
420 B
SYSTEMD
Raw Normal View History

2019-01-09 09:48:23 +01:00
[Unit]
2021-07-06 18:34:47 +02:00
Description=AdGuard Home: Network-level blocker
ConditionFileIsExecutable=__FINALPATH__/AdGuardHome
After=syslog.target network-online.target
2019-01-09 09:48:23 +01:00
[Service]
2021-08-30 13:38:27 +02:00
Type=simple
2021-07-06 17:45:33 +02:00
User=__APP__
Group=__APP__
StartLimitInterval=5
StartLimitBurst=10
2021-09-21 18:27:26 +02:00
WorkingDirectory=__FINALPATH__/
2021-08-30 13:38:27 +02:00
ExecStart=__FINALPATH__/AdGuardHome
2021-07-06 18:34:47 +02:00
Restart=always
RestartSec=10
#EnvironmentFile=-/etc/sysconfig/AdGuardHome
2019-01-09 09:48:23 +01:00
[Install]
2021-07-06 17:45:33 +02:00
WantedBy=multi-user.target