Skip to content
Snippets Groups Projects
Commit 5ee06c23 authored by David Hrbáč's avatar David Hrbáč
Browse files

useradd

parent 663a390c
No related branches found
No related tags found
4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section
Pipeline #
......@@ -66,7 +66,7 @@ deploy to production:
# WARNING: use only in docker container, if you use it with shell you will overwrite your user's ssh config
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- useradd --disabled-password --gecos '' nginx
- useradd -lM nginx
script:
- chown nginx:nginx site -R
- rsync -av --delete site/ root@"$SSH_HOST_STAGE":/srv/docs.it4i.cz/site/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment