diff options
author | Yorhel <git@yorhel.nl> | 2019-12-30 09:49:13 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-12-30 09:49:13 +0100 |
commit | d79c982ee876502db2e1a12752667c6a198c2ddc (patch) | |
tree | ccd4a4e72e5b0d3dd412bed6aee58044e93893f0 /util/docker-init.sh | |
parent | e146ed7bda12d369532e485ca0c2e3d823811854 (diff) |
Actually, let's get rid of v3 now that it doesn't work anymore anyway
Diffstat (limited to 'util/docker-init.sh')
-rwxr-xr-x | util/docker-init.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/util/docker-init.sh b/util/docker-init.sh index c78c5e76..d6994583 100755 --- a/util/docker-init.sh +++ b/util/docker-init.sh @@ -89,7 +89,7 @@ pg_start() { # Should run as devuser devshell() { cd /var/www - util/vndb-dev-server.pl $1 + util/vndb-dev-server.pl bash } @@ -100,15 +100,10 @@ case "$1" in su devuser -c '/var/www/util/docker-init.sh pg_start' exec su devuser -c '/var/www/util/docker-init.sh devshell' ;; - 3) - mkdevuser - su devuser -c '/var/www/util/docker-init.sh pg_start' - exec su devuser -c '/var/www/util/docker-init.sh devshell 3' - ;; pg_start) pg_start ;; devshell) - devshell $2 + devshell ;; esac |