
How to make a systemd service
Topics
On a modern Linux computer, systemd lets you run a program and automatically restart it when the computer reboots and/or the program crashes. (Among many, many other things.) tl;dr Save a file like the following to /etc/systemd/system/myserver.service : [Unit] Description = My Python server…
Visit betaveros.bearblog.dev ↗ (opens in new tab)Found via Kagi Small Web (opens in new tab)