summaryrefslogtreecommitdiffstats
path: root/shib_secondary/remote/dnbd3-server.service
blob: 43bb43e0a1f52765f6eea6c7d7f9edc40fc421fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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