Metadata-Version: 2.4
Name: dargslan-systemd-unit
Version: 1.0.0
Summary: Systemd unit file analyzer — syntax validation, security audit, dependency check, and best practice linting.
Author-email: Dargslan <info@dargslan.com>
License: MIT
Project-URL: Homepage, https://dargslan.com
Project-URL: Documentation, https://dargslan.com/blog
Project-URL: Repository, https://github.com/Dargslan
Project-URL: Free Cheat Sheets, https://dargslan.com/cheat-sheets
Project-URL: Linux & DevOps Books, https://dargslan.com/books
Keywords: linux,systemd,unit,service,analyzer,sysadmin,devops
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# dargslan-systemd-unit

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

## Installation

```bash
pip install dargslan-systemd-unit
```

## Usage

```bash
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

- [Free Linux Cheat Sheets](https://dargslan.com/cheat-sheets)
- [Linux & DevOps Books](https://dargslan.com/books)

## License

MIT
