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
Metadata
Release files for dargslan-systemd-unit 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dargslan_systemd_unit-1.0.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dargslan_systemd_unit-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / dargslan_systemd_unit-1.0.0.tar.gz
| Download URL | dargslan_systemd_unit-1.0.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89a01fe38f8dcf1a7232e10e252fc0044b87a72226acc9e5a29b17200961a315
|
|
BLAKE2b-256 checksum How to use checksums |
e23baff7d1b0cf6d3f3b60d39c0e058795f949b3addb2d456718f7199c7032a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_systemd_unit-1.0.0-py3-none-any.whl
| Download URL | dargslan_systemd_unit-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f40055eb515d9a52af068f4b2997b1e7ff629d46734e32f37a834e5028b36f4d
|
|
BLAKE2b-256 checksum How to use checksums |
9ccf5759680803ced0169a65d45dfb8c19aee3dae62e3bbd190e6e41e015548a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|