Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37788294
en ru br
Репозитории ALT
S:1.8.7-alt2
5.1: 1.4.1-alt4
4.1: 1.2.7-alt2
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: ocfs2-tools

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: ocfs2-tools-service.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin