diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:09:39 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:09:39 +0000 |
commit | a832ef022e8322b1912f0b6cf4061d14ed2ba62a (patch) | |
tree | 15c1f3ca3a45fbe11050fc14d50260d1af8375f9 | |
parent | Add drbd.service (diff) | |
download | util-a832ef022e8322b1912f0b6cf4061d14ed2ba62a.tar.bz2 util-a832ef022e8322b1912f0b6cf4061d14ed2ba62a.tar.xz util-a832ef022e8322b1912f0b6cf4061d14ed2ba62a.zip |
ocfs2.serviceocfs2-service-1
-rw-r--r-- | systemd-units/ocfs2.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd-units/ocfs2.service b/systemd-units/ocfs2.service new file mode 100644 index 0000000..861aacf --- /dev/null +++ b/systemd-units/ocfs2.service @@ -0,0 +1,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 |