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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file initsystem-0.2.0.tar.gz.
File metadata
- Download URL: initsystem-0.2.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.6.9 Linux/4.4.0-18362-Microsoft
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11a6737bacee58dd18b15cd0084b88f8c5fa5277b4931513d60d9d0eee4cb36b
|
|
| MD5 |
3a135cbb57ff07428667e0a1050f0002
|
|
| BLAKE2b-256 |
563ca896271db17354b1d8828906a148ef3540c1a88149df2802ba610d75fee7
|
File details
Details for the file initsystem-0.2.0-py3-none-any.whl.
File metadata
- Download URL: initsystem-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.6.9 Linux/4.4.0-18362-Microsoft
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb36052c34b85c335f061b2c3bfb069395c2ae7de17d7314d85044b6f7957e15
|
|
| MD5 |
dec37d1b75cebae00563b2e920a30f02
|
|
| BLAKE2b-256 |
e3ea1d3211275b3657cd3f7db3c424c90e3dbda2db0fd9ca03491e051dcaa719
|