On 2015-07-15 16:02:33 +0300, Sergey Kirpichev wrote: > I don't see any scripts in the /etc/monit/monitrc.d/.
What matters is that the package can invoke /etc/init.d/ initscripts directly (whether this is done from a shell script or a C program for instance doesn't make a difference). > > BTW, if an admin stops a service (without changing the monit config > > because this may be temporary) > > Could you read first the monit documentation? Please. > > There is no need to change the monit config at all, use > something like: > > monit stop someservice I don't think so, but I may not have been clear enough. I should have said "disables" instead of "stops" above. For instance, without monit, if an admin does update-rc.d someservice disable someservice will be disabled until it is re-enabled later (possibly after reboot). In particular, contrary to "/etc/init.d/someservice start", "invoke-rc.d someservice start" will not start the service if it is disabled. I have the impression that monit, if monitoring the service, doesn't obey the status of the service w.r.t. the run level. Or perhaps this means that the user will have to use *both* update-rc.d and "monit stop someservice" (which is IMHO a bad thing not to ensure consistency with a single command), but even with that, this will work only if the statefile is not in a temporary filesystem. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org