Commit Graph

17 Commits

Author SHA1 Message Date
JustArchi
ac1dfb6c60 Closes #683 2017-10-31 20:16:01 +01:00
JustArchi
e1ddd99935 Various script improvements 2017-10-21 23:03:45 +02:00
JustArchi
feafd16269 Add handling of --path to headless detection 2017-10-19 12:46:42 +02:00
JustArchi
ad4e4ed92f Don't catch EXIT signal
It's not only pointless, but causes issues when scripts are being run in another set -e container.
2017-10-18 15:10:32 +02:00
JustArchi
7b34a84442 Misc
This will accept varying number of whitespace characters
2017-10-14 11:59:07 +02:00
JustArchi
128b6d2e5b Add stdin handling for generic scripts 2017-10-14 11:32:47 +02:00
JustArchi
0c7d9bae48 Handle chmod +x for generic helper scripts 2017-10-14 07:47:51 +02:00
JustArchi
293d259b10 Misc 2017-10-10 03:59:49 +02:00
JustArchi
8515efd6ee Fix ASF not reacting to Docker SIGTERM
This one is tricky, trap code works properly but bash is not reacting to it when executing a binary.

> If Bash is waiting for a command to complete and receives a signal for which a trap has been set, the trap will not be executed until the command completes.

https://www.gnu.org/software/bash/manual/html_node/Signals.html
2017-10-10 03:49:24 +02:00
JustArchi
3eab43780b Add arguments parsing to batch script
Kill me.
2017-10-08 15:14:29 +02:00
JustArchi
f210499874 Improve docker args 2017-10-08 15:08:15 +02:00
JustArchi
ad2c45adb6 Fix wrong args order 2017-10-07 20:16:27 +02:00
JustArchi
94b3e9e776 Add chmod +x permission for scripts 2017-10-07 20:01:39 +02:00
JustArchi
685e52d53f Docker: make it possible to pass arguments 2017-10-07 19:54:23 +02:00
JustArchi
5c737a286b Misc 2017-10-07 18:28:57 +02:00
JustArchi
8fa58a4841 Docker enhancements 2017-10-07 17:26:08 +02:00
JustArchi
d3715db082 Add helper scripts to generic variant 2017-09-23 04:43:27 +02:00