Scripts as a service. Builds on systemctl.
Project description
sysdm
Scripts as a service. Builds on systemd.
It gives you the best from screen, systemctl and journalctl.
Installation
pip install sysdm
Demo
Usage
sudo sysdm create myfile.py # creates and enables a new service file
sysdm view myfile.py # tails the service logs and allows interaction
sysdm ls # see the known services created by sysdm
Features
Creating and viewing have just helped you with:
- Generate a systemd unit file on the fly
- Uses current info to determine, and pin, working directory and virtualenv paths in your unit.
- Script will start running, and also boot on start
- Script will restart on error
- Changes to files in the directory of the same extension will cause a reload (e.g.
.py
) - Provides a UI for inspecting the logs of your script and start, stop etc
- Like with screen, you can leave and it will keep on running.
- Multiple people can look at it, too, when sharing a server.
- Provides flags to change settings
- UI is aware of the window-size
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
sysdm-0.6.18.tar.gz
(11.3 kB
view hashes)
Built Distribution
sysdm-0.6.18-py2.py3-none-any.whl
(13.0 kB
view hashes)
Close
Hashes for sysdm-0.6.18-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cfa5bda4429ca05eeea3a09b8397a812e12da0b2f9cd5f93a201715386621ad |
|
MD5 | 6457c037358f6379ae33a8c1f69fb636 |
|
BLAKE2b-256 | ff54dbe9538d6553feb02e807a09b2093f2b7fcf463eb132e30fc9d4e76d3d6d |