Commit fd42bb8c by PLN (Algolia)

SuperDirt starts the black box, and the black box follows SuperDirt

gig-record was on-demand, meaning only if a converge remembered; on 2026-10-11
it never ran and its unit was not even installed. parvagues-sc now Wants it
(a recorder that cannot start must never stop the sound), and it is PartOf the
sound so it is not left recording silence after the rig is down.
parent 1834cb17
...@@ -22,6 +22,12 @@ ...@@ -22,6 +22,12 @@
Description=ParVagues SuperDirt (sclang start_and_midi.scd, headless) Description=ParVagues SuperDirt (sclang start_and_midi.scd, headless)
After=pipewire.service After=pipewire.service
Wants=pipewire.service Wants=pipewire.service
# The black box starts WITH the sound. It is `on-demand` precisely because it must not
# record every idle hour the lid is open, and "on-demand" turned out to mean "only if a
# converge remembers": on 2026-10-11 it never ran, and the unit was not even installed.
# Recording follows the rig, so the rig starts it. Wants=, not Requires=: a recorder that
# cannot start must never stop the sound.
Wants=gig-record.service
# Bound the restart loop (see Restart= below): three tries in five minutes, then stay # Bound the restart loop (see Restart= below): three tries in five minutes, then stay
# down and stay loud. This is what makes recovery safe without flapping. # down and stay loud. This is what makes recovery safe without flapping.
StartLimitIntervalSec=300 StartLimitIntervalSec=300
......
...@@ -3,6 +3,10 @@ Description=gig-record (ParVagues black box: always-on stereo master capture) ...@@ -3,6 +3,10 @@ Description=gig-record (ParVagues black box: always-on stereo master capture)
Documentation=file:///home/pln/Work/Sound/Tidal/tools/gig_record.sh Documentation=file:///home/pln/Work/Sound/Tidal/tools/gig_record.sh
After=pipewire.service After=pipewire.service
Wants=pipewire.service Wants=pipewire.service
# Part of SuperDirt: started by parvagues-sc (Wants=), and stopped or restarted with it,
# so the black box is not left recording silence for hours after the rig is down. A
# restart of the recorder alone never touches the sound.
PartOf=parvagues-sc.service
[Service] [Service]
Type=forking Type=forking
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment