service-is-enabled 1 user commands nosh
service-is-enabled service checker
`service-is-enabled` directory

## Description

`service-is-enabled` checks to see whether a service is currently enabled. directory is either a service directory or a bundle directory with a service directory named `service` within it.

A service is considered enabled if its service directory does not contain a `down` file.

The result is signalled by the exit code, which is 0 upon success, 111 if the directory does not exist or some other error occurred, and 100 if the `down` exists.

For more on service and supervise directories, see service-manager 1.

## Compatibility

For daemontools and daemontools-encore compatibility, this command is also available as `svok`.

## Author

Jonathan de Boyne Pollard