Open krionical opened 1 day ago
I see, so you HAVE systemd on the machine, but it is deactivated, that's why the detection /etc/systemd/system
passed, but then it failed to launch with systemctl.
Do you know if there's a convenient way to check if systemd is deactivated? I will add to the script to check on that.
Currently it supports systemd and open-rc (I use Alpine a lot). If you can help configure it, I can make it work also with bare sysvinit.
Yeah, this distro has "hooks" for systemd for compatibility, but it doesn't actually have systemd itself.
A quick glance shows this might be a solution to check for systemd: https://unix.stackexchange.com/questions/121654/convenient-way-to-check-if-system-is-using-systemd-or-sysvinit-in-bash
Right now, I install cjdns via brew for linux since the python version it wanted was older (2.7) and I didn't feel like snake handling as my repo has tossed support for that out.
I'll play a little with the config and see what I come up with when I get some time. Thanks for the response!
edit: Better reference: https://itsfoss.com/check-if-systemd/
I was testing this out for on boarding potential issues. I ran the script, and got this in return:
The script isn't wrong. I don't use systemd on this system. It uses Sysvinit. Not sure if this is something to test for in the script as most people will probably be using systemd, but wanted to let the issue be known. (The script doesn't work as the output suggests despite seeming like it does at the end)