Safe Haskell | None |
---|---|
Language | Haskell98 |
- type ServiceName = String
- running :: ServiceName -> Property DebianLike
- restarted :: ServiceName -> Property DebianLike
- reloaded :: ServiceName -> Property DebianLike
- signaled :: String -> Desc -> ServiceName -> Property DebianLike
Documentation
type ServiceName = String Source #
running :: ServiceName -> Property DebianLike Source #
Ensures that a service is running. Does not ensure that any package providing that service is installed. See Apt.serviceInstalledRunning
Note that due to the general poor state of init scripts, the best we can do is try to start the service, and if it fails, assume this means it's already running.
reloaded :: ServiceName -> Property DebianLike Source #
signaled :: String -> Desc -> ServiceName -> Property DebianLike Source #