[systemd-devel] Can LSBInitScipts specify an dependency on systemd unit?

Bao Nguyen baondt at gmail.com
Thu Jun 9 09:38:36 UTC 2016


Hi Michael,

Thanks, do you know any document or manual talks about that like removing
the .service extension as you said? I mean any proof to show it can work.

Thanks again,
Brs

On Thu, Jun 9, 2016 at 4:13 PM, Michael Biebl <mbiebl at gmail.com> wrote:

> 2016-06-09 10:55 GMT+02:00 Bao Nguyen <baondt at gmail.com>:
> > 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?
>
>
> Yes, this works. But you need to drop the .service file extension.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160609/2235f663/attachment-0001.html>


More information about the systemd-devel mailing list