mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2024-12-22 02:32:50 -08:00
update deploy_photo_app.bash.example
This commit is contained in:
parent
61288bca85
commit
18629831c3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user