summaryrefslogtreecommitdiffstats
path: root/pkg/systemd/dnbd3-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/systemd/dnbd3-server.service')
-rw-r--r--pkg/systemd/dnbd3-server.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/systemd/dnbd3-server.service b/pkg/systemd/dnbd3-server.service
new file mode 100644
index 0000000..de800ce
--- /dev/null
+++ b/pkg/systemd/dnbd3-server.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=DNBD3 server
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/dnbd3-server -n -c /etc/dnbd3-server
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target