10 Commits (master)

Author SHA1 Message Date
n1trux 633bfbe5c5 fix that fucking Dockerfile for good, thanks @dark 4 years ago
n1trux dd5b4043be Merge remote-tracking branch 'origin/pr/4' 4 years ago
n1trux 43a3dd81ac Merge remote-tracking branch 'origin/pr/3' 4 years ago
Darksider3 710ceacd7c Breaking up the code smell regarding the CFG.py!
It began smelling already but having some duplicate code across the
interfaces is still better than having all of it all over the place.

It enables to write specific flags which are nice to have. For example,
Import.py requires the --Import flag because it WANTS the user to read
the whole Help before it acts actually as an importer. When the user
supplies something they should know what's currently happening.

Also removes the hardcoded dependency on lib.CFG-Calls from most calls
which was already embarassingly present. Introduced some db and
cfg-variables which doesnt clutter anything but suck much less.

In future we provide a set of default arguments and a bare minimum -
config_ui as the bare minimum, default as the full blown storm.

This is rather big because it also patches several other smells
including a bug where a user from the db wouldnt be reported as existent
5 years ago
Darksider3 3ae497e2eb Let the container stop gracefully with exec!
Right now the container can't stop gracefully because the sshd-server
runs on the server as PID 0. This results in the docker daemon not
killing it but waiting for it to die, which never happens, and results
in the default timeout-wait before it KILLS the process. With exec, the
sshd becomes PID 1 and can receive and process signals(probably SIGTERM
here) and handles them as well. The container stops now nearly
instantly..
5 years ago
Darksider3 c28e616ea5 Faster rebuildung by moving system relevant stuff up 5 years ago
Darksider3 c4912502d7 Now with dynamic TILDE_CONF support! 5 years ago
Darksider3 a772fa9d40 Create /app/user/.ssh before trying to write to it! 5 years ago
darksider3 4079166167 Respect $TILDE_CONF ENV in container build 5 years ago
darksider3 e00e587fac Reflect changes made 5 years ago