Skip to content

Commit

Permalink
bin/ directory containing restart.sh and logs.sh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
erichanson committed Apr 7, 2019
1 parent 21e8fd2 commit 8b02276
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/logs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tail -f /var/log/postgresql/postgresql-10-main.log &
tail -f /var/log/nginx/aquameta_db.*.log &
journalctl -u aquameta.emperor.uwsgi.service -f &
3 changes: 3 additions & 0 deletions bin/restart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
systemctl restart aquameta.emperor.uwsgi.service
/etc/init.d/nginx restart
/etc/init.d/postgresql restart

0 comments on commit 8b02276

Please sign in to comment.