Artix Linux Forum

Init systems => S6 => Topic started by: jrballesteros05 on 04 July 2020, 21:15:23

Title: [SOLVED] What is the equivalent of "systemctl enable" in S6
Post by: jrballesteros05 on 04 July 2020, 21:15:23
Hello everybody.

I've been reading the wiki but I can't figure out how I can enable a service from boot for example. I installed bluez and bluez-s6 and everytime I start the machine I have to bring up the service manually.

Code: [Select]
s6-rc -u change bluetoothd

I want to do something similar to

Code: [Select]
systemctl enable bluetoothd

I try to read s6 official documentation but at the moment is not clear to me. I am new with this so be kind with me  :D  :D  :D  :D
Title: Re: What is the equivalent of "systemctl enable" in S6
Post by: Dudemanguy on 04 July 2020, 21:54:16
In Artix, the bundle called "default" is automatically brought up on boot (with the default configuration at least).

If you don't have that bundle, you need to first create it like so:
Code: [Select]
s6-rc-bundle add default bluetoothd

If you already have the bundle and want to add another service to it then:
Code: [Select]
s6-rc-bundle-update add default bluetoothd

There's a lot more you can do, but that should get you going.
Title: Re: What is the equivalent of "systemctl enable" in S6
Post by: jrballesteros05 on 05 July 2020, 11:41:41
In Artix, the bundle called "default" is automatically brought up on boot (with the default configuration at least).

If you don't have that bundle, you need to first create it like so:
Code: [Select]
s6-rc-bundle add default bluetoothd

If you already have the bundle and want to add another service to it then:
Code: [Select]
s6-rc-bundle-update add default bluetoothd

There's a lot more you can do, but that should get you going.


Hi, thanks for your reply. Now bluetooth daemon is running from boot. The command that worked was this:

Code: [Select]
s6-rc-bundle-update add default bluetoothd

I already had default bundle created. Thank you very much.