Searched hist:220760 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/etc/
H A Drc.subrdiff 220760 Sun Apr 17 22:40:58 MDT 2011 dougb The change in r206686 to allow the stop argument to work for a service
that is running even though not _enable'd had an annoying side effect.
If the service was already started at boot time by another means when
the related script came around again in rcorder it would start again,
regardless of _enable, because there was a valid pid. [1]

So, split the test into 2 parts, one for (!rcvar && !stop), and one
for (stop && !valid_pid). This preserves the behavior from r206686
while preventing the undesired side effect.

PR: conf/156427 [1]
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> [1]

Completed in 103 milliseconds