So, from my notes:
#voidlinux: symlink a service's name from /etc/sv/ to /var/service to enable a service then sv up & down will become available for that service.
#chimeralinux: dinitctl, kinda like systemctl
#devuan: update-rc.d <service> default to get it on the runlevels, then enable/disable to do fun things. Only do update-rc.d remove when the package is removed from the system.. Gotcha
#linux #freesoftware #opensource #foss #debian #sysvinit #dinit #musl #systemd
Lazy Bear Dude
in reply to Lazy Bear Dude • • •So for #artix with s6 init, I have to install the service with an -s6 prefix, do touch /etc/s6/adminsv/default/contents.d/<service_name> then s6-db-reload to enable a service. To temporarily start/stop a service, I just do s6-rc -u/-d change <service_name>. Alright, alright. Gotcha
To disable the service, just remove the touched file. Alright, gotcha, bear. Thansk
#artixlinux #linux #s6 #s6-rc #freesoftware #opensource
Lazy Bear Dude
in reply to Lazy Bear Dude • • •So Void Linux and Artix Linux has different different directories for their service stuff.
In runit version of Artix, services are stored in /etc/runit/sv/. The 'sv' command reads anything that's in /run/runit/service/. Ok gotcha.
Symlinking a service from /etc/runit/sv/ to /run/runit/service allows it to be controlled with the 'sv' command, basically enabling it. Neat!
#artix #artixlinux #void #voidlinux #linux #freesoftware #opensource #foss
Moritz Poldrack
in reply to Lazy Bear Dude • • •Lazy Bear Dude
in reply to Moritz Poldrack • • •@mpldr Thanks. I'll take note of this when I get to Artix Linux OpenRC.
I still need to separate rc-service and rc-update. I fumbled on this one when I was playing around with Gentoo, lol
rc-service = start/stop
rc-update = enable/disable
Lazy Bear Dude
in reply to Lazy Bear Dude • • •I got it! So for Artix Linux OpenRC:
rc-update add/delete <service> to enable/disable a service.
rc-service <service> start/stop to start/stop a service.
Gotcha. This will really come in handy for when I actually migrate to Gentoo and become a Gentoo citizen (just kidding lol)
#artix #artixlinux #openrc #linux #freesoftware #opensource #foss #gentoo #gentoolinux