Compare commits

...

1 Commits

Author SHA1 Message Date
knoflook 5fd6d9fc53
change entrypoing 2021-11-01 17:49:22 +01:00
2 changed files with 5 additions and 3 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,4 +1,4 @@
#!/bin/ash
#!/bin/sh
if test -f "/run/secrets/croc_pass"; then
pwd=`cat /run/secrets/croc_pass`
@ -13,3 +13,4 @@ else
exit 1
fi
/croc-entrypoint.sh "$@"