Closed kerchner closed 6 years ago
Good catch, I forgot to update this
On Nov 13, 2017 7:18 PM, "Justin Littman" notifications@github.com wrote:
@justinlittman commented on this pull request.
In scripts/logsitter.conf https://github.com/gwu-libraries/launchpad/pull/1209#discussion_r150705107 :
@@ -0,0 +1,10 @@ +# Place in /etc/supervisor/conf.d +# Then restart supervisor with: sudo service supervisor restart +# +[program:logsitter] +command=/usr/bin/python /launchpad/launchpad/scripts/logsitter.py +directory=/home/kerchner
Not sure this is the best setting for directory.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gwu-libraries/launchpad/pull/1209#pullrequestreview-76294830, or mute the thread https://github.com/notifications/unsubscribe-auth/ADSpJ0FKFae0U-F7VfoO05Qfhk5jYf-Uks5s2NxTgaJpZM4Qcabv .
Code review complete @kerchner. Good to merge.
Created logsitter script and updated README with supervisor deployment instructions. Refs #1004 (as a workaround, not a fix). Monitors apache log for Oracle error and restarts as needed.