-
Notifications
You must be signed in to change notification settings - Fork 3
Server Tips
Joe Wandy edited this page Jun 11, 2020
·
2 revisions
Following are useful commands on the server:
Restart PALS service
$ less /etc/systemd/system/pals.service
$ sudo systemctl restart pals
Restart WebOmics
$ less /etc/systemd/system/webomics.service
$ sudo systemctl restart webomics
Update and restart WebOmics manually
$ cd WebOmics/
$ cd web_omics/
$ pipenv shell
$ git pull
$ ps auxw | grep gunicorn
$ kill 21646
$ kill 21897
$ ps auxw | grep python
$ gunicorn web_omics.wsgi --log-level=debug -t 300 -k gthread --threads 5
View journal logs
$ journalctl -f
$ journalctl -u pals -f
$ journalctl -u pals --since 2020-05-08
$ journalctl -u webomics -f
$ journalctl -u webomics --since today
Neo4j
$ sudo systemctl start neo4j
$ sudo systemctl status neo4j