My name is yogi77 and I'm trying this nice distro coming from Gentoo. As I have some spare time for some days, I'm trying to build my new Obarun system and I have to say, you guys did a quite impressive work!

XFCE, sound, sshd, conky etc are running, I'm still struggling a bit setting up services with 66 tools (e.g. Nfs, lightdm...)

Happy coding!
Hey yogi,

welcome to Obarun! Glad to have you here. Interesting choice from Gentoo :D
What made you change? Isn't Gentoo SysV/OpenRC?

Services have become a lot easier with the new wrapper: Check out the docs on the frontend service file and the mandatory fields. That's basically all you need to create a service. I hope there'll be some guides in the future about the most basic stuff to make Obarun even more accessible. It's really not difficult if I can do it ;D

As an example this is the service file for sddm found at /etc/66/service/sddm after installing sddm-66serv. You can create any named file in this directory, adhere to the frontend service file rules and enable it as service.
[main]
@ type = classic
@ name = sddm
@ description = "sddm daemon"
@ user = ( root )
@ options = ( log )

[start]
@ build = auto
@ execute = ( exec -c sddm )

[stop]
@ build = auto
@ execute = ( s6-rmrf /run/sddm )
hi and welcome,
to be more efficient you can declare your service name at /etc/66/sysadmin/service, this is avoid to loose your changes on a same service name when it update by upstream
eric wrotehi and welcome,
to be more efficient you can declare your service name at /etc/66/sysadmin/service, this is avoid to loose your changes on a same service name when it update by upstream
Good hint, done :)
Could it also be any directory I create there, e.g. /etc/66/myservice/service?
you can create any directory under /etc/66/sysadmin/service/<my_dir> (even at /etc/66/service but this is not a good idea, this directory is used by the packager, so you can enter in conflicts with it) containing any service file or another directory containing service or another directory...
Also if you use nested scandir for an user the service file declaration can go at $HOME/.66/service

The directory precedence is :
for root:
/etc/66/sysadmin/service -> /etc/66/service
for user:
$HOME/.66/service -> /etc/66/sysadmin/service -> /etc/66/service

Please if you have any question about 66 post here : https://forum.obarun.org/viewforum.php?id=21

Powered by Obarun