<div dir="ltr"><div><div class="gmail-gE gmail-iv gmail-gt" style="padding:20px 0px 0px"><br class="gmail-Apple-interchange-newline"><table cellpadding="0" class="gmail-cf gmail-gJ" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:0.875rem;border-collapse:collapse;margin-top:0px;width:auto;letter-spacing:0.2px;display:block"><tbody style="display:block"></tbody></table><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px">>> </span></font><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">can you </span>plesse<span style="font-family:Arial,Helvetica,sans-serif;font-size:small"> only respond to the list to not break reply-to</span></div><div class="gmail-" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div id="gmail-:28x" class="gmail-ii gmail-gt gmail-adO" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:28w" class="gmail-a3s gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif">I will use reply to all <br><span class="gmail-im" style="color:rgb(80,0,80)"><br><br></span>>> useless unless you set "DefaultDependencies=no" which you shouldn't do<br>for normal services</div></div></div></div><div><br></div>>> if i remove all the service and only put After=grid.service, so it will work similar way that how it is currently behaving correct.<div><br></div><div>so it doesn't make any difference if services will be in [Unit] section.</div><div>Even strange thing is that when systemd-cgls as it is showing under .user.slice, i think if service get started with systemd then it should come under systemd.slice.</div><div>Mya be i can wrong about it as systemd is a vast subject and may be i mis-understand something incorrectly.</div><div><br></div><div>I am just trying to understand and want to get some solution for my services to be run flawlessly at boot.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 5:00 AM Reindl Harald <<a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">can you plesse only respond to the list to not break reply-to<br>
<br>
Am 15.06.20 um 11:49 schrieb Kamal Rathi:<br>
> can you answer the question why you did put that option at all into the<br>
> unit file and why do you add random options to your units like<br>
> "After=syslog.target systemd-user-sessions.service system.slice" <br>
> I have added above options so that my script will start after<br>
> filesystems,network and user sessions are online and should be stopped<br>
> before those all services so that custom service will be first at<br>
> shutdown or at least before user.slice killed<br>
<br>
useless unless you set "DefaultDependencies=no" which you shouldn't do<br>
for normal services<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div>