summaryrefslogtreecommitdiff
path: root/systemd-units/ocfs2.service
blob: 861aacfec6e23a0f077a34fc2b00ff453dff0bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Oracle Cluster File System
After=systemd-modules-load.service network.target drbd.service
Requires=drbd.service
Before=remote-fs.target

[Service]
Type=oneshot
RemainAfterExit=yes

ExecStart=/sbin/o2cb_ctl -H -n %I -t cluster -a online=yes
ExecStop=/sbin/o2cb_ctl -H -n %I -t cluster -a online=no

[Install]
WantedBy=multi-user.target