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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for initsystem-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb36052c34b85c335f061b2c3bfb069395c2ae7de17d7314d85044b6f7957e15 |
|
MD5 | dec37d1b75cebae00563b2e920a30f02 |
|
BLAKE2b-256 | e3ea1d3211275b3657cd3f7db3c424c90e3dbda2db0fd9ca03491e051dcaa719 |