Skip to main content

Systemd unit file analyzer — syntax validation, security audit, dependency check, and best practice linting.

Project description

dargslan-systemd-unit

Systemd unit file analyzer — syntax validation, security audit, dependency check, and best practice linting.

Installation

pip install dargslan-systemd-unit

Usage

dargslan-unit report              # Scan all unit files
dargslan-unit lint myapp.service  # Lint a specific unit
dargslan-unit security myapp.service  # Security analysis
dargslan-unit parse myapp.service # Parse unit structure
dargslan-unit list                # List all unit files
dargslan-unit json                # JSON output

Features

  • Unit file syntax validation
  • Security hardening score (16 directives checked)
  • Best practice linting (Restart policy, User, PIDFile, etc.)
  • Support for .service, .timer, .socket, .mount files
  • Zero dependencies — pure Python

Part of dargslan-toolkit

Install all 54 Linux sysadmin tools: pip install dargslan-toolkit

Links

License

MIT

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

dargslan_systemd_unit-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

dargslan_systemd_unit-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dargslan_systemd_unit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 89a01fe38f8dcf1a7232e10e252fc0044b87a72226acc9e5a29b17200961a315
MD5 5b4a1e54bdd926a897a4c39754a41de4
BLAKE2b-256 e23baff7d1b0cf6d3f3b60d39c0e058795f949b3addb2d456718f7199c7032a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dargslan_systemd_unit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f40055eb515d9a52af068f4b2997b1e7ff629d46734e32f37a834e5028b36f4d
MD5 8ee3c79f2bb3496725433cc5b847067a
BLAKE2b-256 9ccf5759680803ced0169a65d45dfb8c19aee3dae62e3bbd190e6e41e015548a

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