summaryrefslogtreecommitdiff
path: root/deploy_static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-05-14 22:47:10 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-05-14 22:47:10 -0400
commit5a30e1b5292b66c6168847e70c53a63205746910 (patch)
treea4f5ae41fe0a1e058e1400f3fa68700a7e89116e /deploy_static
parentfb1be51f68ae067fa36725066f945e3c0aeb87d4 (diff)
use nginx utility to get error reporting
Diffstat (limited to 'deploy_static')
-rwxr-xr-xdeploy_static2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy_static b/deploy_static
index f152086f..18571959 100755
--- a/deploy_static
+++ b/deploy_static
@@ -28,7 +28,7 @@ ssh $remote sync .
sed -i "s|/srv/grapheneos.org|$target|" nginx.conf.tmp
rsync -rpcv --chmod=D755,F644 --delete nginx.conf.tmp $remote:/etc/nginx/nginx.conf
ssh $remote sync -f /etc/nginx/nginx.conf
-ssh $remote systemctl reload nginx
+ssh $remote nginx -s reload
echo
echo active is now $target