update deploy_photo_app.bash.example

This commit is contained in:
Trent Palmer 2021-01-08 20:18:46 -08:00
parent 61288bca85
commit 18629831c3

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# deploy_photo_app.bash # /usr/local/sbin/deploy_photo_app.bash
SOURCE="/home/<user>/flaskapps/photo_app" SOURCE="/home/<user>/flaskapps/photo_app"
@ -48,3 +48,5 @@ cp -v "$SOURCE"/js/photo_app.js "$DESTINATION"/js/
chown -R photo_app:photo_app "$DESTINATION" chown -R photo_app:photo_app "$DESTINATION"
chmod 600 "$DESTINATION"/.env chmod 600 "$DESTINATION"/.env
chown root:root /usr/local/sbin/deploy_photo_app.bash