diff options
Diffstat (limited to 'shib_secondary/remote/dnbd3-server.service')
-rw-r--r-- | shib_secondary/remote/dnbd3-server.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shib_secondary/remote/dnbd3-server.service b/shib_secondary/remote/dnbd3-server.service new file mode 100644 index 0000000..43bb43e --- /dev/null +++ b/shib_secondary/remote/dnbd3-server.service @@ -0,0 +1,18 @@ +[Unit] +Description=DNBD3 Server +ConditionPathIsMountPoint=/mnt/store +ConditionPathExists=/mnt/store/dnbd3 +After=remote-fs.target local-fs.target +After=mnt-store.mount +Requires=mnt-store.mount + +[Service] +User=dnbd3 +ExecStart=/opt/dnbd3/dnbd3-server -n +Restart=always +RestartSec=5 +TimeoutStopSec=10 +LimitNOFILE=16384 + +[Install] +WantedBy=multi-user.target |