Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Nex Systemd Service Template

    2

    Generate hardened, production-ready systemd service units with auto-restart, sandboxing, and install scripts.

    Free

    1 installSecurity scanned

    See it in action

    You say

    Create a systemd service for my Python scraper located at /opt/scraper. It uses a venv and needs to write results to /opt/scraper/data. Run it as the 'scraper-bot' user.

    Your agent does

    I've generated the scraper-service/ package. The unit includes `ProtectSystem=strict` with an allowlist for `/opt/scraper/data`. To deploy, run: `sudo bash scraper-service/install.sh` Logs are available via: `journalctl -u scraper -f`

    About this skill

    Production-Grade systemd Unit Generation

    Deploying long-running applications on Linux often leads to "it works until it crashes" scenarios. This skill automates the creation of hardened, production-ready systemd service units that ensure your Python, Node.js, Go, or Rust applications stay running, restart on failure, and operate within a secure sandbox environment.

    What it does

    The skill generates a specialized {{APP_NAME}}-service/ package containing:

    • A Hardened Unit File: Implements Restart=always, ProtectSystem=strict, and over 20 sandbox directives (NoNewPrivileges, PrivateTmp, syscall filters) to limit the blast radius of a compromised process.
    • Idempotent Install Script: Automatically handles unit placement in /etc/systemd/system/, daemon-reloads, enables on boot, and starts the service.
    • Management Documentation: A focused README with the exact commands needed for logs, status checks, and restarts.

    Why use this skill

    Prompting an AI for a "systemd file" usually results in a bare-bones template. This skill follows DevSecOps best practices by enforcing non-root execution, journald logging (no more manual log rotation), and strict filesystem allowlisting. It handles the nuances of Python virtual environments and network-restricted binaries out of the box, ensuring your VPS or Raspberry Pi remains stable and secure.

    Supported Environments

    Supports any Linux distribution using systemd (Ubuntu, Debian, Fedora, Raspberry Pi OS). Ideal for standalone binaries, Python venvs, Node.js apps, and uvicorn/gunicorn workers.

    Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    1 install

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 8 days ago

    • Free forever, no account required

    Installs1
    Listed1 month ago
    Updated8 days ago

    Frequently Asked Questions

    Free