homeserver/roles/mgrote_blocky/templates/blocky.service.j2
Michael Grote 8fe2c55d25 setup blocky (#617)
Reviewed-on: #617
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-11-29 12:22:34 +01:00

15 lines
354 B
Django/Jinja

{{ file_header | default () }}
[Unit]
Description=Blocky is a DNS proxy and ad-blocker for the local network written in Go.
Requires=network.target
Wants=nss-lookup.target
Before=nss-lookup.target
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/blocky --config {{ blocky_conf_dir }}/config.yml
[Install]
WantedBy=multi-user.target