sed -i 's@/usr/sbin@/usr/local/sbin@g' patches/etc/systemd/system/*.service (Fixes #11)

This commit is contained in:
Manfred Touron 2015-03-21 23:57:19 +01:00
parent 598506016d
commit d36a1b0ed8
No known key found for this signature in database
GPG Key ID: 0DCB9CE0CABAE1B5
3 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@
Description=OCS additional volumes mounter
[Service]
ExecStart=/usr/sbin/oc-add-extra-volumes
ExecStop=/usr/sbin/oc-remove-extra-volumes
ExecStart=/usr/local/sbin/oc-add-extra-volumes
ExecStop=/usr/local/sbin/oc-remove-extra-volumes
Type=forking
[Install]

View File

@ -3,7 +3,7 @@ Description=OCS fetch kernel modules from OCS mirror
After=NetworkManager-wait-online.service
[Service]
ExecStart=/usr/sbin/oc-sync-kernel-modules
ExecStart=/usr/local/sbin/oc-sync-kernel-modules
Type=oneshot
[Install]

View File

@ -7,4 +7,4 @@ After=shutdown.target umount.target final.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/oc-nbd-disconnect-root
ExecStart=/usr/local/sbin/oc-nbd-disconnect-root