Skip to main content
Topic: How to roll back bundle deletion (Read 846 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to roll back bundle deletion

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?

 

Re: How to roll back bundle deletion

Reply #1
You can just remake the database again and it should be OK.

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