carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1# update-platform-binary.sh: the last two lines it needs
2
3After the `carlos-restart.path` block, guarded the same way:
4
5 if [ -f /etc/systemd/system/carlos-system-update.path ]; then
6 systemctl enable --now carlos-system-update.path
7 systemctl enable carlos-system-recover.service
8 fi
9
10And to the post-conditions at the end:
11
12 systemctl is-active carlos-system-update.path
13 systemctl is-enabled carlos-system-recover.service
14
15Same change in amadan.net/tito/carlos-infrastructure/scripts/update-platform-binary.sh.
16After every deployment has been hand-rolled once onto a binary carrying the
17system-update spec, the script is retired (spec §10).
18