This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Project: https://github.com/getsentry/sentry | |
| # Doc: https://docs.getsentry.com/on-premise/server/installation/python/ | |
| sudo apt-get update | |
| sudo apt-get install python-virtualenv | |
| sudo apt-get install python-setuptools | |
| sudo apt-get install python-pip | |
| sudo apt-get install libxslt1-dev | |
| sudo apt-get install gcc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # from http://www.onurguzel.com/supervisord-restarting-and-reloading/ | |
| Posted byOnur Güzel 7 September 2012 22 Comments on Supervisord: Restarting and Reloading | |
| Supervisord is a great daemon for managing application processes. However it does not have a reload option, and restart works different than we get used to. These command makes the following effects. | |
| service supervisor restart | |
| Restart supervisor service without making configuration changes available. It stops, and re-starts all managed applications. | |
| supervisorctl restart <name> | |
| Restart application without making configuration changes available. It stops, and re-starts the application. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ABC | |
| include Interactor | |
| def self.inherited(klass) | |
| klass.class_eval do | |
| before do | |
| p "doing it" | |
| end | |
| after do |
OlderNewer