1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=DNBD3 Server ConditionPathExists=!/srv/openslx/nfs/.notmounted [Service] User=dnbd3 PermissionsStartOnly=true ExecStartPre=/opt/openslx/dnbd3/is-enabled ExecStart=/opt/openslx/dnbd3/dnbd3-server -n Restart=always RestartSec=5 TimeoutStopSec=10