<div dir="ltr"><div dir="ltr">But the doc says <div><a href="https://www.freedesktop.org/software/systemd/man/systemd.unit.html">https://www.freedesktop.org/software/systemd/man/systemd.unit.html</a><br></div><div>"<span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"> however, they apply to all kinds of starts (including manual), not just those triggered by the</span><code class="gmail-varname" style="color:rgb(0,0,0)">Restart=</code><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"> logic"</span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">so a sper doc , they apply to manual start/stop too.</span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2019 at 12:53 PM Bruno Vernay <<a href="mailto:brunovern.a@gmail.com">brunovern.a@gmail.com</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"><div dir="ltr">Hi,<div>I would say that they limit restarts on errors (process crashes)</div><div>Not an explicit command to stop and restart. There are no errors here.</div><div><br></div><div>Bruno</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2019 at 8:02 AM prashantkumar dhotre <<a href="mailto:prashantkumardhotre@gmail.com" target="_blank">prashantkumardhotre@gmail.com</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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div>I use v230 systemd.</div><div>I see that even after repeated stop and start of my service, i dont see it going to going to failed state.</div><div>I have not configured any StartLimitBurst/StartLimitInterval , so default values should take effect but I dont se ethat happening. service always restarts.</div><div>Is this behavior expected ? or this is a bug which got fixed in later releases ?</div><div><br></div><div>$ while true; do systemctl stop snmpd; systemctl start snmpd; systemctl status snmpd;done<br></div><div><br></div><div>$ cat snmpd.service</div><div>...</div><div><br></div><div><div>[Service]</div><div>ExecStart= /usr/sbin/snmpd<br></div><div>Restart=always<br></div><div>...</div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div><br></div></div></div></div></div></div></div>
_______________________________________________<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></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-6624182757342960933gmail_signature">Bruno VERNAY<br></div>
</blockquote></div>