dnsservice/ansible/files/blocky.service
2024-08-03 14:05:31 -05:00

19 lines
385 B
Desktop File

[Unit]
Description=Blocky is a DNS proxy and ad-blocker
ConditionPathExists=/opt/blocky
After=local-fs.target
[Service]
User=blocky
Group=blocky
Type=simple
WorkingDirectory=/opt/blocky
ExecStart=/opt/blocky/blocky --config /opt/blocky/config.yml
Restart=on-failure
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=blocky
[Install]
WantedBy=multi-user.target