But the doc says https://www.freedesktop.org/software/systemd/man/systemd.unit.html " however, they apply to all kinds of starts (including manual), not just those triggered by theRestart= logic" so a sper doc , they apply to manual start/stop too.
On Wed, Mar 6, 2019 at 12:53 PM Bruno Vernay <brunover...@gmail.com> wrote: > Hi, > I would say that they limit restarts on errors (process crashes) > Not an explicit command to stop and restart. There are no errors here. > > Bruno > > On Wed, Mar 6, 2019 at 8:02 AM prashantkumar dhotre < > prashantkumardho...@gmail.com> wrote: > >> Hi, >> I use v230 systemd. >> I see that even after repeated stop and start of my service, i dont see >> it going to going to failed state. >> I have not configured any StartLimitBurst/StartLimitInterval , so default >> values should take effect but I dont se ethat happening. service always >> restarts. >> Is this behavior expected ? or this is a bug which got fixed in later >> releases ? >> >> $ while true; do systemctl stop snmpd; systemctl start snmpd; systemctl >> status snmpd;done >> >> $ cat snmpd.service >> ... >> >> [Service] >> ExecStart= /usr/sbin/snmpd >> Restart=always >> ... >> >> >> Thanks >> >> >> _______________________________________________ >> systemd-devel mailing list >> systemd-devel@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/systemd-devel > > > > -- > Bruno VERNAY >
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel