Skip to main content

Scripts as a service. Builds on systemd.

Project description

PyPI PyPI

sysdm

Scripts as a service. Builds on systemd.

It gives you the best from screen, cronjobs, supervisord, systemctl and journalctl.

Installation

pip install sysdm

Demo

Usage examples

sysdm create myfile.py               # creates, starts and enables a new service file
sysdm create myfile.py --timer daily # the above + schedules it to run daily
sysdm ls                             # see the known services created by sysdm
sysdm delete                         # see the known services and select to delete
sysdm run                            # run the app in the foreground (e.g for debugging)

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
  • Script can also be started on a schedule (e.g. --timer daily), using systemd timers
  • 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

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.8.67.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

sysdm-0.8.67-py2.py3-none-any.whl (18.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sysdm-0.8.67.tar.gz.

File metadata

  • Download URL: sysdm-0.8.67.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for sysdm-0.8.67.tar.gz
Algorithm Hash digest
SHA256 170cc5e1ced1c52915823f8c1672e4f3f7abfd0236aedf820b9296aaa906298b
MD5 7b2989804bb8c5789cde08022aaa65a8
BLAKE2b-256 1c1f83680e882413e6ab3682e9a0429577b38b0427900e6fe29df62c32537bea

See more details on using hashes here.

File details

Details for the file sysdm-0.8.67-py2.py3-none-any.whl.

File metadata

  • Download URL: sysdm-0.8.67-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for sysdm-0.8.67-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 99cc5368c20f034fb8af1f225f249f97194be34d85682e7d143bec0f3866b034
MD5 f1c5f33b2185b8064e6aeb7efba5d0b4
BLAKE2b-256 ae7e325d8cb32cbc691826af3009422ad432556394e5a1c57d27ea0e89b4b498

See more details on using hashes here.

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