summaryrefslogtreecommitdiff
path: root/debian13/etc/systemd/system
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-04-13 21:45:43 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-04-13 21:45:43 +0200
commit0c913f1e421b9d47c052350c4c1d619e4ac6a297 (patch)
treec9124ff04b9252836221c41d2ca2fa133d166251 /debian13/etc/systemd/system
Initial commit
Diffstat (limited to 'debian13/etc/systemd/system')
-rw-r--r--debian13/etc/systemd/system/blocky.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian13/etc/systemd/system/blocky.service b/debian13/etc/systemd/system/blocky.service
new file mode 100644
index 0000000..8b5e46a
--- /dev/null
+++ b/debian13/etc/systemd/system/blocky.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Blocky DNS
+After=syslog.target
+After=network.target
+
+[Service]
+RestartSec=10s
+Type=simple
+User=blocky
+Group=blocky
+WorkingDirectory=/opt/blocky/
+ExecStart=/opt/blocky/blocky -c blocky.yml
+Restart=always
+
+[Install]
+WantedBy=multi-user.target