|
|
|
|
|
by markstos
1045 days ago
|
|
As someone who knows systemd very well, my team of Mac-based devs did appreciate when I made something like this. I used a different framework, a precursor to Tome: https://github.com/toumorokoshi/tome
Using this, I was able to create a very focused tool with few commands and simple docs, which supported things like: - my-cli help
- my-cli start
- my-cli stop
- my-cli restart
- my-cli status
Sometimes the commands were thin wrappers around systemd, sometimes they were a bit more complex because we really had a collection of services, not a single one.So while my first reaction was "why not use systemd?", my second reaction is "Oh yeah, I built something like that and it was helpful". Systemd is great, but it does have a massive amount of a commands and documentation and be overkill and overwhelming. |
|
I don't have a solution for managing services though and that has been the one pain point after moving away from containerized dev envs. The cross platform network and service management you get with docker is pretty ideal. devenv.sh is on to something with their 'services' feature but it doesn't quiet fit the bill for us yet.