sed -i 's@/usr/sbin@/usr/local/sbin@g' patches/etc/systemd/system/*.service (Fixes #11)
This commit is contained in:
parent
598506016d
commit
d36a1b0ed8
|
@ -2,8 +2,8 @@
|
||||||
Description=OCS additional volumes mounter
|
Description=OCS additional volumes mounter
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/oc-add-extra-volumes
|
ExecStart=/usr/local/sbin/oc-add-extra-volumes
|
||||||
ExecStop=/usr/sbin/oc-remove-extra-volumes
|
ExecStop=/usr/local/sbin/oc-remove-extra-volumes
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -3,7 +3,7 @@ Description=OCS fetch kernel modules from OCS mirror
|
||||||
After=NetworkManager-wait-online.service
|
After=NetworkManager-wait-online.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/oc-sync-kernel-modules
|
ExecStart=/usr/local/sbin/oc-sync-kernel-modules
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -7,4 +7,4 @@ After=shutdown.target umount.target final.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/sbin/oc-nbd-disconnect-root
|
ExecStart=/usr/local/sbin/oc-nbd-disconnect-root
|
||||||
|
|
Loading…
Reference in New Issue