Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Systemd

From Nest Guides
Revision as of 01:17, 26 March 2024 by Samuel (talk | contribs) (Add Systemd page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you want your apps to be integrated in the background with the system and start up when the system starts up, then you'll want to put your service with Systemd! Systemd is a system and service manager that runs as PID 1 and starts the rest of the system. It's used on most Linux distributions, including Debian, which Nest runs on!

Systemd is primarily used for starting the system itself, and these services are only accessible to the root user. However, it also works for users, with the --user flag when running any systemd command. Since Nest users don't have access to the root user, you'll need to remember to always use the --user flag.

For how to write a systemd service configuration file, another guide already explains it very well! Take a look at https://linuxhandbook.com/create-systemd-services/