summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/dnbd3/etc/systemd/system/dnbd3-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/dnbd3/etc/systemd/system/dnbd3-server.service')
-rw-r--r--satellit_installer/static_files/dnbd3/etc/systemd/system/dnbd3-server.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/satellit_installer/static_files/dnbd3/etc/systemd/system/dnbd3-server.service b/satellit_installer/static_files/dnbd3/etc/systemd/system/dnbd3-server.service
new file mode 100644
index 0000000..c062609
--- /dev/null
+++ b/satellit_installer/static_files/dnbd3/etc/systemd/system/dnbd3-server.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=DNBD3 Server
+ConditionPathExists=!/srv/openslx/nfs/.notmounted
+After=remote-fs.target local-fs.target
+
+[Service]
+User=dnbd3
+ExecStart=/opt/openslx/dnbd3/dnbd3-server -n
+Restart=always
+RestartSec=5
+TimeoutStopSec=10
+LimitNOFILE=16384
+