Re: Safely replacing /etc/s6-rc/compiled

2015-11-12 Thread Laurent Bercot
On 12/11/2015 18:59, Jan Bramkamp wrote: Is there a way to update /etc/s6-rc/compiled without risking a broken system if the power fails midway through the update? The best I can come up with is to use a symlink to a uniquely named compiled directory and a recompile wrapper That is exactly

Safely replacing /etc/s6-rc/compiled

2015-11-12 Thread Jan Bramkamp
Is there a way to update /etc/s6-rc/compiled without risking a broken system if the power fails midway through the update? The best I can come up with is to use a symlink to a uniquely named compiled directory and a recompile wrapper along those lines: cd /etc/s6-rc s6-rc-compile

Re: Safely replacing /etc/s6-rc/compiled

2015-11-12 Thread Steve Litt
On Thu, 12 Nov 2015 18:59:30 +0100 Jan Bramkamp wrote: > Is there a way to update /etc/s6-rc/compiled without risking a broken > system if the power fails midway through the update? Couldn't you just back up the file(s), and if something goes wrong, boot back in with System