salt icon indicating copy to clipboard operation
salt copied to clipboard

Delete a service on Linux system

Open meggiebot opened this issue 11 years ago • 2 comments

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

meggiebot avatar Jul 30 '15 23:07 meggiebot

Committed for Boron

meggiebot avatar Jul 30 '15 23:07 meggiebot

ZD-377

meggiebot avatar Jul 30 '15 23:07 meggiebot