🦿 Lucian Marin I wrote my first ever init.d script. Now I can simply do: sudo service sublevel restart and magic happens. I enabled it using systemd instead of update-rc.d method. I can enjoy the best of both worlds: simplicity of bash and power of systemctl.
Mark Dain Not sure I follow you; systemd has unit files where you can setup what you want it to do. Do they not cover your needs? To me, one point of systemd was you never needed to write bash scripts again
7y, 37w 3 replies
🦿 Lucian Marin Deploying Gunicorn using Systemd (docs.gunicorn.org/...) is complicated and I couldn't get it to run. The SysV (bash) script does a better job simpler.
7y, 37w 2 replies
Login or register your account to reply
Mark Dain Ah, thanks for the link. I've only ever wired up simple go daemons to systemd so I wasn't aware of it's limitations
7y, 37w 1 reply
🦿 Lucian Marin gist.github.com/le... is the init.d script I'm using for Sublevel.
7y, 37w reply