Am 26.01.2015 um 17:00 schrieb Christian Seiler: > Of course, if you have a better idea of how to do this?
Aside from shipping real native unit files, that's probably the least invasive change: - Drop $remote_fs from the open-isci LSB header and replace it with $local_fs. That looks wrong anyway. - Ship a file like the following in drop-in directory to call umountiscsi.sh on stop and adding the ordering for remote-fs-pre.target # cat /etc/systemd/system/open-iscsi.service.d/foo.conf [Unit] Wants=remote-fs-pre.target Before=remote-fs-pre.target [Service] ExecStop= ExecStop=/etc/init.d/umountiscsi.sh stop ExecStop=/etc/init.d/open-iscsi stop If this file is shipped as part of the package, it should be placed in /lib/systemd/system/open-iscsi.service.d/ and probably have a better name then foo.conf :-) -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature