Skip to content

Commit

Permalink
Reload nginx script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Mar 7, 2019
1 parent 658ee5b commit 55ef740
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/production/nginx_reboot.sh

This file was deleted.

9 changes: 9 additions & 0 deletions scripts/production/nginx_reload_configuration.sh
@@ -0,0 +1,9 @@
#!/bin/sh
set -e
set -x

DAEMON=/usr/local/openresty/bin/openresty
CONF=/var/www/blot/config/nginx/server.conf

sudo $DAEMON -t -c $CONF
sudo $DAEMON -s reload

0 comments on commit 55ef740

Please sign in to comment.