Hey there,
Quick note to announce the release of anopa 0.4.0, main changes being :
- Change how the logging works: instead of logging into
/run/initramfs/boot.log in stage 1 & 2, and using aa-mvlog to move
said file to /var/log/boot at the end of stage 2, now stage 1 & 2
(much like stage 3) log directly into /var/log/boot/current
As a special treat however, stage 1 will first check for a
file /run/initramfs/boot.log and import its content
into /var/log/boot/current if found.
That way everything from stage 1 is logged into persistent storage,
and the whole process is simpler.
- status: Longrun services now have a "Mode" w/ "Automatic restart
(want up)" or "Once (want down)" when they're up (doesn't make sense
when they're not).
In list mode, only show "Once" next to the PID when needed.
Also add mention "To be restarted" for down services that
s6-supervise shall be restarting soon, after finish is done and/or
the 1sec delay. Useful to see when e.g. a service keeps failing to
start/be restarted.
- stop: Fix unable to stop service that keeps crashing.
- stop: Change how --all works: Now it only means stopping all up
services, nothing else. When specified a second time, then mode
"stop-all" is enabled, which means:
- for all down services, send 'x' to their s6-supervise
- send 'dx' instead of 'd' to the s6-supervise of up services
- ignore dependency error (i.e. always stop everything)
So same as before, only with stopping s6-supervise of down services,
to properly bring the entire supervised tree down (assuming s6-svscan
is down already, ofc).
A few other changes & fixes as well, see HISTORY or the git log for
more.
Note that s6 dependency was bumped to s6 2.2.4.3 for the ftrigrd fix.
As usual, tarball is here[1], source code on github[2].
Cheers,
-j
[1]
http://jjacky.com/anopa/anopa-0.4.0.tar.gz
[2]
https://github.com/jjk-jacky/anopa
Received on Sun Jan 10 2016 - 14:13:35 UTC