16 Commits

Author SHA1 Message Date
Kris Anderson
4e1037a887 Docker: exit promptly on SIGTERM instead of waiting to be killed
liberate.sh runs as PID 1, and bash as PID 1 ignores SIGTERM unless it is
trapped, so `docker stop` always waited out its timeout and then SIGKILLed
the container (exit 137).

Trap TERM and INT. Run LibationCli and the sleep between runs in the
background and wait on them, so the trap fires at once instead of after the
child exits. On a signal, send SIGTERM to a running child and wait for it,
so LibationCli can shut down cleanly before the script exits with 143 (TERM)
or 130 (INT).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 15:10:03 -08:00
Marc Urben
2e4c0a10b0 Setup libation-master.key when not set via variable 2026-08-02 10:04:26 +02:00
Marc Urben
40b75185c2 Support user specified cmd by not entering the loop and running the cmd while still setting up the environment. Also expand documentation and example for the interactive shell. 2026-08-02 02:27:21 +02:00
Robert McRackan
79b6521a4e surfaced encrypted-token decrypt failure for Docker and CLI 2026-08-01 09:38:50 -04:00
Jo-Be-Co
4c212e752f some refinements 2026-04-11 22:19:31 +02:00
Jo-Be-Co
e8d2ac5c62 #1729 added resilience when creating the link to the database file 2026-04-11 21:22:54 +02:00
vipervire
e126dd09ce Update Books directory to use LIBATION_BOOKS_DIR if populated 2025-06-05 23:26:52 +00:00
Ryan Parrish
87ca76f9cb set maxdepth to prevent traversal into subdirectories 2024-11-20 11:32:02 -05:00
Robert McRackan
43d1019059 * Bug fix #1048: docker: Error when using SLEEP_TIME - "integer expression expected"
Thanks @charltonstanley !
2024-11-19 06:40:51 -05:00
Aaron Reisman
e0dd9b845a rework database handling 2024-11-14 00:59:28 -06:00
Aaron Reisman
9ed6c1fd0d cleanup 2024-10-22 10:07:37 -05:00
Aaron Reisman
9825e2b552 Build both platforms in one action 2024-10-22 09:27:00 -05:00
Aaron Reisman
ac8c090c4c Rework run script to support db mount better 2024-10-21 14:02:52 -05:00
Aaron Reisman
9bc53e45cd large overhaul of docker run script 2024-10-19 01:31:03 -05:00
Aaron Reisman
7d4eaa11e7 Run docker image as non-root user 2024-10-18 00:13:19 -05:00
pixil98
5ae2a99c14 Docker workflow (#7)
* Refactored workflows
* Added docker build to release
* Linux and MacOS now build on Linux
2022-12-18 17:57:37 -06:00