This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ serve: env-file-exists ca-key-exists build
3030 docker run -d --restart unless-stopped -v $(CURDIR ) /example-keybaseca-volume:/mnt:rw ca:latest docker/entrypoint-server.sh
3131 @echo " Started CA bot service in the background... Use ` docker ps` and ` docker logs` to monitor it"
3232
33+ # Stop the service
34+ stop :
35+ docker kill ` docker ps -q --filter ancestor=ca`
36+
37+ # Restart the service (useful if you updated env.sh)
38+ restart : stop serve
39+
3340# Wipe all data
3441clean : confirm-clean reset-permissions
3542 @# Sudo since it is likely owned by another use since it was written from a docker container
Original file line number Diff line number Diff line change @@ -65,3 +65,10 @@ kssh root@server # If in {TEAM}.ssh.root_everywhere
6565```
6666
6767We recommend building kssh yourself and distributing the binary among your team (perhaps in Keybase Files!).
68+
69+ ## Updating environment variables
70+
71+ If you update any environment variables, it is necessary to restart the keybaseca service. This can be done
72+ by running ` make restart ` . Note that it is not required to re-run ` make generate ` .
73+
74+ Note that this means ` kssh ` will not work for a brief period of time while the container restarts.
You can’t perform that action at this time.
0 commit comments