CONSFIGURATOR.PROPERTY.SERVICE

API reference

chrooting in to the host’s unbooted root filesystem.

Property: SERVICE:NO-SERVICES

(service:no-services)

Disable starting services with service(1) and by the package manager.

The implementation for Debian and Debian derivatives is currently very simplistic, and will interact badly with any other properties which want to use /usr/sbin/policy-rc.d. However, if for all other purposes you use systemd configuration instead of editing /usr/sbin/policy-rc.d, this limitation should not affect you.

Function: SERVICE:NO-SERVICES-P

(service:no-services-p)

Returns true if no services should be started by the current deployment.

Property: SERVICE:RUNNING

(service:running service)

Attempt to start service using service(1). Assumes that if service(1) returns nonzero, it means the service was already running. If something more robust is required, use init system-specific properties.

Property: SERVICE:RESTARTED

(service:restarted service)

Property: SERVICE:RELOADED

(service:reloaded service)

Fn. prop. combinator: SERVICE:WITHOUT-STARTING-SERVICES

(service:without-starting-services &rest propapps)

Apply PROPAPPS with the :NO-SERVICES connattr temporarily in effect. Also disable starting services by the package manager.