From 18629831c3e9611ff23109d8cd61e9f4d2d580e2 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Fri, 8 Jan 2021 20:18:46 -0800 Subject: [PATCH] update deploy_photo_app.bash.example --- examples/deploy_photo_app.bash.example | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/deploy_photo_app.bash.example b/examples/deploy_photo_app.bash.example index b268fae..50bc9b5 100755 --- a/examples/deploy_photo_app.bash.example +++ b/examples/deploy_photo_app.bash.example @@ -1,5 +1,5 @@ #!/bin/bash -# deploy_photo_app.bash +# /usr/local/sbin/deploy_photo_app.bash SOURCE="/home//flaskapps/photo_app" @@ -48,3 +48,5 @@ cp -v "$SOURCE"/js/photo_app.js "$DESTINATION"/js/ chown -R photo_app:photo_app "$DESTINATION" chmod 600 "$DESTINATION"/.env + +chown root:root /usr/local/sbin/deploy_photo_app.bash