sudo systemctl enable --now myapp

Category: Self-Hosting

sudo systemctl enable --now myapp

Enable and immediately start a systemd service in one command

Combines 'enable' (start on boot) and 'start' (start right now) into a single command — the most common way to activate a new service.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.