systemctl Command Generator
Generate systemctl commands to control the systemd service manager
Getting Started with systemctl
## What is systemctl?
`systemctl` controls the systemd system and service manager. It is the standard way to start, stop, enable, and inspect services (units) on modern Linux distributions.
## How to Use
1. **Set Mode**: Toggle `--user` to act on the per-user manager instead of the system one. 2. **Pick a Subcommand**: Choose what to do — `start`, `stop`, `status`, `enable`, etc. 3. **Enter Unit**: Provide the unit name (for example `nginx` or `ssh.service`). 4. **Copy & Run**: Copy the generated command into your terminal.
Common Options
### `start` / `stop` / `restart` / `reload` Start, stop, restart, or reload a unit. `restart` stops and starts it again; `reload` asks the service to re-read its config without restarting.
### `enable` / `disable` Mark a unit to start automatically at boot (`enable`) or remove that autostart (`disable`). Pair with `--now` to also start/stop the unit immediately.
### `status` Show runtime status, recent log lines, and the main PID for a unit.
### `--user` Operate on the user systemd manager (per-user services) instead of the system manager.
### `--now` (with enable/disable) When used with `enable`, also starts the unit right now; with `disable`, also stops it.
### `-f` Force (enable/disable) When replacing a unit file, override conflicting symlinks.
### `--no-block` Do not wait until the operation finished — useful in scripts.
### `-q` Quiet Suppress the human-readable status hints.
### `--no-pager` Pipe output without invoking a pager (great for scripts and CI).
### `--no-legend` (with status) Hide the column legend/header in status output.
▶How do I make a service start on boot?
▶How do I see why a service failed?
▶How do I restart a service without dropping connections?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee