fabtools.require.service

System services

This module provides high-level tools for managing system services. The underlying operations use the service command, allowing to support both upstart services and traditional SysV-style /etc/init.d/ scripts.

See also

fabtools.service

fabtools.require.service.started(service)[source]

Require a service to be started.

from fabtools import require

require.service.started('foo')
fabtools.require.service.stopped(service)[source]

Require a service to be stopped.

from fabtools import require

require.service.stopped('foo')
fabtools.require.service.restarted(service)[source]

Require a service to be restarted.

from fabtools import require

require.service.restarted('foo')
Read the Docs v: 0.16.0
Versions
latest
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.