diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/systemd/iscsi-init.service | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/systemd/iscsi-init.service b/etc/systemd/iscsi-init.service index 17792da..8f9a8aa 100644 --- a/etc/systemd/iscsi-init.service +++ b/etc/systemd/iscsi-init.service @@ -2,7 +2,16 @@ Description=One time configuration for iscsi.service ConditionPathExists=!/etc/iscsi/initiatorname.iscsi DefaultDependencies=no -After=root.mount +RequiresMountsFor=/etc/iscsi +# systemd-remount-fs.service is optionally pulled in by +# local-fs.target, don't start it here (no Wants=) but if +# it's running wait for it to finish +After=systemd-remount-fs.service + +[Install] +# this ensures we are in the same transaction with +# systemd-remount-fs.service +WantedBy=systemd-remount-fs.service [Service] Type=oneshot |