Yet another reason to try for BSD jails and ansible.
If only any of the BSDs had an init system with declarable units, instead of the hack that is shell scripts.
Nobody is preventing you from installing and using one
Yes, and nobody is preventing me from using Linux with systemd either, which I rather do until they fix this. If they never fix it, that’s fine too.
How many service units are you writing on a daily basis that makes Systemd a necessity for your use case? Do Linux packages typically ship without service units and force you to do it yourself?
Well, none of the Fun parts even come from the official repos. Plus there’s of course all internally developed stuff – somebody needs to write init scripts or unit files for those. Getting a unit file 95% correct on the first try is possible.
You may be right that systemd is not necessary for anything I do. It’s just a whole lot more convenient than the alternatives.
That’s the difference with FreeBSD: we don’t have a small “official” repo. Our community maintained ports tree is huge and everything that needs an rc script comes with one.
My frequent experience from FreeBSD has been that not all of those rc scripts in the ports tree work 100% well. Systemd units tend to work pretty solidly, on the other hand.
If you happen to remember any specific poor experiences please send me a message… I’ll hunt down the rc scripts and fix them.
I feel your pain. Pretty much every time I use Docker, now. So many questions and so much hair pulling…
Fabulous! Another alternative for doing my job on BSD!
Damn. I had to write date overlapping in 2007 to compare bills sent to Medicare and now I am saddened by how much easier it could have been.
Good job, dude.
Which is precisely why I googled before trying to roll my own logic! It was so easy after reading the explanation that I thought others would like the tidbit.
I am going to guess that some of those are redundant. Still an excellent list if you are into game engine theory.
Reminds me of the Pico-8 and the Pocket CHIP.
I immediately went to the PICO-8 system when I saw this. PICO-8 has been around for a hot minute, now.
I have been having a lot of success using Make to build my Docker-based microservices ecosystem of about a dozen services and about half a dozen backend servers. I also use Make to remember how to build and tag my containers to push to AWS ECR for deployment, which I would never remember how to do if I had to type it out every day.
You should probably be using Terraform for this, though the learning curve is a bit steep at first. Well worth it though to coordinate distributed infrastructure idempotently.