gwu-libraries / launchpad

A django based system that provides a stable URL for every item in the library's catalog. Various discovery services will link to these URLs. The page for each item will in turn link out to various other resources that provide methods for accessing the content of the items.
MIT License
15 stars 9 forks source link

Refs #1004. Logsitter script and deployment instructions #1209

Closed kerchner closed 6 years ago

kerchner commented 6 years ago

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.

kerchner commented 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 .

justinlittman commented 6 years ago

Code review complete @kerchner. Good to merge.