Run a Node.js or Python app or a Laravel queue on your server as a service that starts on boot and comes back if it stops. Pick a preset and get a complete .service file with hardening, a timer file to replace cron, and the commands in order.
Pick the Node.js preset, enter your start file path and enable hardening. Copy the file to /etc/systemd/system/, run the commands in order, then reboot and confirm the app came back on its own with systemctl status.
Key terms
Short definitions of what you meet along the way.
Unit
A file defining a service or timer for systemd.
ExecStart
The command that starts the app, written with a full path.
We use necessary cookies to run the site, and Google Analytics to measure visits only if you agree. You can change your choice at any time from “Cookie settings”. Privacy policy