⇤ ← Revision 1 as of 2019-10-02 13:09:23
Size: 1070
Comment:
|
Size: 1275
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
* Configuration file for supervisord | * If you update vis_plotter code, please restart the process by following command. {{{ k1script> sudo supervisorctl restart vis_plotter }}} * Configuration file for supervisord (Maybe it is not needed to touch for many people.) |
Line 27: | Line 32: |
k1script> cat /tmp/vis_plotter.log # <- Check error log | k1script> sudo supervisorctl tail vis_plotter # <- Check error log |
VIS Model Plotter
Software management
Model plotter is managed by supervisord on k1script. Basically, applications managed by supervisor are automatically launched when k1script boots up and they are automatically re-launched when they hang up.
- If you update vis_plotter code, please restart the process by following command.
k1script> sudo supervisorctl restart vis_plotter
- Configuration file for supervisord (Maybe it is not needed to touch for many people.)
k1script> cat /etc/supervisor/conf.d/k1vis.conf [program:vis_plotter] user=controls command=bash -c 'cd /kagra/Drobbox/Subsystems/VIS/Scripts/VISapp && /usr/bin/python3 manage.py 0.0.0.0:8000' autorestart=true autostart=true redirect_stderr=true stdout_logfile=/tmp/vis_plotter.log
- Management commands
k1script> sudo supervisorctl start vis_plotter # <- Start model plotter k1script> sudo supervisorctl stop vis_plotter # <- Stop model plotter k1script> sudo supervisorctl restart vis_plotter # <- Restart model plotter k1script> sudo supervisorctl status vis_plotter # <- Check run status k1script> sudo supervisorctl tail vis_plotter # <- Check error log