I've decided to try a localhost web server. I've installed apache and searched but mostly found instructions on RC and DINIT. I decided to go ahead and...
sudo s6-service httpd start
s6-service: usage: s6-service [ -c compiled ] command... (use s6-service help for more information)
As well as...
s6-service help
s6-service help
s6-service add bundlename contents...
s6-service del bundlename contents...
And that is complete Latin to me! Help please.
Did you check the wiki page (https://wiki.artixlinux.org/Main/S6)?
I have. But it is a bit difficult for me to determine what the options meant and what the appropriate commands are, coming from a distro with a simple - service httpd start.
But that's OK. I'm sure I'll get it eventually.
If that is the case then I think you picked the wrong init.
imho s6 is the most over complex init I have tried. Though I accept it has it's fans and choice is good.
But if you want simple I don't think s6 fits the mould?
Sudo apt install apache-s6 # Always make sure to see if you have the s6 script package installed
Sudo s6-db-reload # Reload the dB to make sure service scripts are there
S6-rc-db list all | grep http # Search for httpd service's exact name
Sudo s6-rc -u change httpd # Command format to start a service
Sudo s6-rc -d change httpd # Shuts the service down if you're done
As long as you follow the above procedure, you should be fine with any and all s6 service packages which Artix supports
S6, apart from some differences in syntax, is just a better "runit". It's just a more coherent daemontools-like implementation with a clean "database" structure which just needs you to know two commands (db-reload and rc-db).
It's literally just a few text files in a directory structure + a batch script to create a service, where all the s6 binaries just help adjust things like process hierarchy and permissions.
It's much simpler than you might think, and it's perfectly OK for beginners as long as you're OK with learning a few commands and understanding the file-structure of it. It's just much less known than your runits and openrcs
I've tried them all and I stand by my opinion that it's the least simple of the four offered by Artix.
But as I said I'm all for choice.
dinit is currently probably the fastest of the 4 supported, and offers slightly more than s6, eg cgroups.
I think I'll stay with it. I could learn, and I wanna learn. If I stick with what I already know, life with Linux becomes boring, and I'd question, why am I even here.
Thanks for the tip, friend. I'll let you know how it went.