Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] What is the equivalent of "systemctl enable" in S6 (Read 2921 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] What is the equivalent of "systemctl enable" in S6

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
Artix Linux Colombia

 

Re: What is the equivalent of "systemctl enable" in S6

Reply #1
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.

Re: What is the equivalent of "systemctl enable" in S6

Reply #2
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.
Artix Linux Colombia