Closed aither64 closed 3 years ago
Not an issue anymore, void itself creates /etc/runit/stopit
with the correct permission and graceful shutdown works.
Still a problem. The file exists but does not have 0100 set.
Fixed by 39bbe7cafa48fda9743e1a1a22f022bef6afd2da.
LXC shuts down containers by signaling the init system, but that won't work on runit in void. We'll probably have to use exec instead of signal and run
runit-init 0
as the manpage describes it:There doesn't seem to a be a way for graceful shutdown without touching files inside the container.