Group :: Sistema/Kernel e hardware
RPM: ocfs2-tools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: ocfs2-tools-service.patch
Download
Download
diff --git a/vendor/common/o2cb.service b/vendor/common/o2cb.service
index 09d03540..fece1b83 100644
--- a/vendor/common/o2cb.service
+++ b/vendor/common/o2cb.service
@@ -1,13 +1,13 @@
[Unit]
Description=Load o2cb Modules
Requires=network.service
-After=network.service
+After=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=/sbin/o2cb.init enable
-ExecStop=/sbin/o2cb.init disable
+ExecStart=/etc/rc.d/init.d/o2cb enable
+ExecStop=/etc/rc.d/init.d/o2cb disable
[Install]
WantedBy=multi-user.target
diff --git a/vendor/common/ocfs2.service b/vendor/common/ocfs2.service
index 768f8067..151e813b 100644
--- a/vendor/common/ocfs2.service
+++ b/vendor/common/ocfs2.service
@@ -6,9 +6,9 @@ After=o2cb.service
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=/sbin/ocfs2.init start
-ExecStop=/sbin/ocfs2.init stop
-ExecReload=/sbin/ocfs2.init restart
+ExecStart=/etc/rc.d/init.d/ocfs2 start
+ExecStop=/etc/rc.d/init.d/ocfs2 stop
+ExecReload=/etc/rc.d/init.d/ocfs2 restart
[Install]
WantedBy=multi-user.target