salt
salt copied to clipboard
Delete a service on Linux system
We need a way to delete the service without invoking cmd.run.
Service module exposes disable means, there is a method on service module that can disable a particular service on a Linux system where disables just turns off the service in the bootup process but the service still exists on the system.
Expectation is a delete method that can delete the service from the list of configured service on that system. This could be as simple as :
chkconfig --level ‘n’ servicename off chkconfig --del servicename
Committed for Boron
ZD-377