<div dir="ltr">Hi Michael,<div><br></div><div>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.</div><div><br></div><div>Thanks again,</div><div>Brs</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 9, 2016 at 4:13 PM, Michael Biebl <span dir="ltr"><<a href="mailto:mbiebl@gmail.com" target="_blank">mbiebl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2016-06-09 10:55 GMT+02:00 Bao Nguyen <<a href="mailto:baondt@gmail.com">baondt@gmail.com</a>>:<br>
> Hi everyone,<br>
><br>
> I have a script written by SysVinit, can I declare ordering of this script<br>
> with a systemd unit in "X-Start-Before:" and "X-Start-After:", for ex<br>
><br>
> X-Start-Before: systemd_1.service<br>
> X-Start-After: systemd_2.service<br>
><br>
> Can it be declared like that? Can it work as expected if LSB depends on<br>
> systemd service?<br>
<br>
<br>
</span>Yes, this works. But you need to drop the .service file extension.<br>
</blockquote></div><br></div>