Skip to content

Commit d3c49e4

Browse files
committed
use systemctl reload for nginx reload
1 parent f485bda commit d3c49e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy-static

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ssh $remote "ln -snf $target /srv/attestation.app && sync /srv/attestation.app"
4545

4646
echo "root $target;" > nginx-tmp/root_attestation.app.conf
4747
rsync -rpcv --chmod=D755,F644 --delete --fsync --preallocate nginx-tmp/{nginx.conf,mime.types,root_attestation.app.conf,snippets} $remote:/etc/nginx/
48-
ssh $remote nginx -s reload
48+
ssh $remote systemctl reload nginx
4949

5050
echo
5151
echo active is now $target

0 commit comments

Comments
 (0)