Compare commits

...

1 Commits

Author SHA1 Message Date
knoflook c442f27610
change entrypoing 2021-11-01 17:51:54 +01:00
2 changed files with 6 additions and 4 deletions

View File

@ -11,9 +11,10 @@ services:
- croc_pass
configs:
- source: croc_entrypoint
target: /croc-entrypoint.sh
target: /abra-entrypoint.sh
mode: 0555
entrypoint:
- /abra-entrypoint.sh
secrets:
croc_pass:

View File

@ -1,5 +1,5 @@
#!/bin/ash
#!/bin/sh
set -e
if test -f "/run/secrets/croc_pass"; then
pwd=`cat /run/secrets/croc_pass`
if [ -z $pwd ]; then
@ -13,3 +13,4 @@ else
exit 1
fi
/croc-entrypoint.sh "$@"