svc_start
Arguments
- $1 (string): Service name
Exit codes
- 0: Service started successfully
- 1: No service specified or start failed
svc_restart
Arguments
- $1 (string): Service name
Exit codes
- 0: Service restarted successfully
- 1: No service specified or restart failed
svc_status
Arguments
- $1 (string): Service name
Exit codes
- 0: Service is active
- 1: Service is inactive or not found
svc_enabled
Arguments
- $1 (string): Service name
Exit codes
- 0: Service is enabled
- 1: Service is not enabled or not found
svc_active
Arguments
- $1 (string): Service name
Exit codes
- 0: Service is running
- 1: Service is not running or not found