Skip to main content

Start a systemd service and display log output directly in the shell

Project description

systemd-run-here

Start a systemd service, display the log output directly in the shell

This is unreviewed AI-generated code, but I have used in on my machine. Liable to change in interface.

Installation

pipx install systemd-run-here

Usage

systemd-run-here --user backup.service

Motivation

This systemd job was failing. I want to run it and see the output now rather than go through a silly run / logs cycle.

Alternatives and prior work

You could run journalctl in the backgroound following.

About me

I am @readwithai. I make tools for reading and agency with and without Obsidian and AI. I also make a stream of small tools like this related to my work.

If you are interested in reading or note taking or Obsidian, check out my blog at readwithai.substack.com.

If you are interested in a stream of tools, you can follow me on GitHub or follow me on X.

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

systemd_run_here-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

systemd_run_here-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file systemd_run_here-1.0.0.tar.gz.

File metadata

  • Download URL: systemd_run_here-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for systemd_run_here-1.0.0.tar.gz
Algorithm Hash digest
SHA256 25888af793fa657365f0c1cc0d2311dadd6fd5514556c58419eaaf574a7c67c4
MD5 ea53660a1c41b695f5e5b9be6bb1f1e6
BLAKE2b-256 7d58ef993c375f0ec37dcd0c37d1564ab5f4fcb9f1af652fb9fab916e833a9f4

See more details on using hashes here.

File details

Details for the file systemd_run_here-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for systemd_run_here-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cdc795e31ce859bf8db06a9cd21ae53c1e5fb35b839197b7707860022578811
MD5 4206af9f8d3176f886912e45030eec74
BLAKE2b-256 b4d61928fccf5b2d53211c0ecba2bce84571eab61563033accaee86872889158

See more details on using hashes here.

Supported by

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