Merge pull request #1 from shenxn/master
Update from shenxn/protonmail-bridge-docker
This commit is contained in:
commit
298bacbd6c
8 changed files with 28 additions and 11 deletions
|
|
@ -13,6 +13,12 @@ if [[ $1 == init ]]; then
|
|||
# Initialize pass
|
||||
gpg --generate-key --batch /protonmail/gpgparams
|
||||
pass init pass-key
|
||||
|
||||
# Kill the other instance as only one can be running at a time.
|
||||
# This allows users to run entrypoint init inside a running conainter
|
||||
# which is useful in a k8s environment.
|
||||
# || true to make sure this would not fail in case there is no running instance.
|
||||
pkill protonmail-bridge || true
|
||||
|
||||
# Login
|
||||
/protonmail/proton-bridge --cli $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue