Skip to main content

init-system-agnostic way to start, stop and check statuses of services

Project description

Manage services. Supports SystemV init or systemd.

Installation

Available on PyPI:

pip install initsystem

Example

>>> from initsystem import Service
>>> couchdb = Service('couchdb')
>>> couchdb.is_running()
False
>>> couchdb.start()
>>> couchdb.is_running()
True
>>> couchdb.stop()
>>> couchdb.is_running()
False

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

initsystem-0.2.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

initsystem-0.2.0-py3-none-any.whl (2.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page