propellor-5.3.6: property-based host configuration management in haskell

Propellor.Property.Service

Synopsis

# Documentation

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.

This property prevents daemons and other services from being started, which is often something you want to prevent when building a chroot.

When this is set, running and restarted will not start services.

On Debian this installs a /usr/sbin/policy-rc.d script to further prevent any packages that get installed from starting daemons. Reverting the property removes the script.

Check if the noServices property is in effect.

Constructors

 NoServices

Instances

 Source # Methods Source # MethodsshowList :: [NoServices] -> ShowS #