3 ms·
> It also required that I figure out how to “daemonize” the script[.] I found this aspect surprisingly difficult; it seems like a really basic need, but the doc
by jcahill 9y ago
> It also required that I figure out how to “daemonize” the script[.] I found this aspect surprisingly difficult; it seems like a really basic need, but the documentation for how to do this was not especially easy to find. I host my bots on a Digital Ocean box running Ubuntu, so this script is running as a systemd service.
Agreed on the relative dearth of well-gisted tutorial content re: routine sysadmin tasks.
Outlets that pump out tons of marginally-differentiable content on <today's unnecessary stack element that'll have you terraforming the noosphere 333% more, free> tend to prevail by sheer numbers.
That being said, systemd is its own problem in need of abstracting away from. Supervisor⁽¹⁾⁽²⁾ might be the layer you're looking for.
____________________
¹ http://supervisord.org/index.html http://supervisord.org/index.html
² https://digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps https://digitalocean.com/community/tutorials/how-to-install-...