service
3.65 KB
-
Get service module working with sudo, add list=status, better error messages. · c6db4e8f
When running the service module via sudo, `$PATH` didn't contain `/sbin`, so the service binary couldn't be found. This just runs `/sbin/service` directly. Output is spewed to stderr on error. Added `list=status` to include the output of `service <cmd> status`.
John Kleint committed