On Tue, Apr 01, 2014 at 09:50:49AM -0400, Roman Gelfand wrote: > Is there a tool that would take down and disable a service based on a > configurable criteria?
Are you after something more than:
#!/bin/sh
service $1 stop
update-rc.d $1 disable
with possibly, some detection of systemd/upstart/etc? AFAIK, "service $1
stop" is init-agnostic, but disabling the service is, at the moment,
dependant on which one you use.
signature.asc
Description: Digital signature

