3 ms·
I haven't migrated off it, but I've stopped forcing it everywhere because I came to the realization that there will probably be only one copy running in product
by nurettin 6y ago
I haven't migrated off it, but I've stopped forcing it everywhere because I came to the realization that there will probably be only one copy running in production anyways.
These days I just keep an <project>/systemd/<bunch of service files> and <target os>_provision.sh
Provision file has all the commands the target OS needs to run the program. Service files are copied to their respective places under $HOME/.config/systemd and are ready to use after systemctl --user daemon-reload and systemctl --user enable <all services>. You can also use loginctl enable-linger <username> in order to start user services on startup.
I install programs as services using systemd and monitor a bunch of them with monit. I also can't help but notice that they do work better on bare metal.