Artix Linux Forum

Init systems => S6 => Topic started by: ejb on 30 July 2025, 21:13:46

Title: How to roll back bundle deletion
Post by: ejb on 30 July 2025, 21:13:46
Hi all,

It's been I while since I've posted anything here (since it's mostly been smooth sailing), but I've royally screwed up now (or so I think).

I haven't had to interact with the init system and services for a while, so I forgot the commands to remove a service or bundle from a bundle. This led me to accidentally delete both the service bundle (tailscaled) and the default bundle!

Code: [Select]
$ sudo s6-rc-bundle delete  default tailscaled
$ sudo s6-status default
 ERROR: Bundle (default) does not exist!

Will this fix itself on reboot since I didn't recompile the database or anything?
Title: Re: How to roll back bundle deletion
Post by: Dudemanguy on 30 July 2025, 23:06:46
You can just remake the database again and it should be OK.

Code: [Select]
$ sudo s6-db-reload