custom systemd service
Setting up a custom systemd service that keeps a script / binary running at all times is simple, yet very powerful, so I wanted to make a simple post about it.
Our goal in this post:
create a systemd service that runs our custom script or binary make the service start on system boot and check status Systemd will automatically restart our binary if it dies, which very convenient and easier than us having to write this logic ourselves :)