[systemd-devel] Can LSBInitScipts specify an dependency on systemd unit?
Reindl Harald
h.reindl at thelounge.net
Thu Jun 9 09:03:56 UTC 2016
Am 09.06.2016 um 10:55 schrieb Bao Nguyen:
> Hi everyone,
>
> I have a script written by SysVinit, can I declare ordering of this
> script with a systemd unit in "X-Start-Before:" and "X-Start-After:", for ex
>
> X-Start-Before: systemd_1.service
> X-Start-After: systemd_2.service
>
> Can it be declared like that? Can it work as expected if LSB depends on
> systemd service?
writing a systemd-unit and place it in /etc/systemd/system/ would have
needed the same keystrokes as your mail while in doubt you can call the
old script with ExecStart/ExecStop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160609/ac6184e3/attachment.sig>
More information about the systemd-devel
mailing list