Commit fc0ebb34 authored by Dave Lane's avatar Dave Lane

updates to configurations

parent 835b285b
......@@ -88,8 +88,8 @@ RUN apt-get install -y less net-tools vim
# install Node.JS repos and do another update...
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
&& echo 'deb https://deb.nodesource.com/node_4.x trusty main' > /etc/apt/sources.list.d/nodesource.list \
&& echo 'deb-src https://deb.nodesource.com/node_4.x trusty main' >> /etc/apt/sources.list.d/nodesource.list \
&& echo 'deb https://deb.nodesource.com/node_4.x xenial main' > /etc/apt/sources.list.d/nodesource.list \
&& echo 'deb-src https://deb.nodesource.com/node_4.x xenial main' >> /etc/apt/sources.list.d/nodesource.list \
&& apt-get update -y -qq
# Download dev dependencies
RUN apt-get install -y --no-install-recommends \
......
......@@ -4,16 +4,16 @@ apps:
- script : 'couchwatch.js'
name : 'CouchWatch'
merge_logs : true
out_file : '/tmp/couchwatch.log'
out_file : '/opt/wenotes/logs/couchwatch.log'
- script : 'twitters.js'
name : 'Twitter Stream Watcher'
merge_logs : true
out_file : '/tmp/twitters.log'
out_file : '/opt/wenotes/logs/twitters.log'
- script : 'irc.js'
name : 'IRC Watcher'
merge_logs : true
out_file : '/tmp/irc.log'
out_file : '/opt/wenotes/logs/irc.log'
- script : 'wenotestochat.js'
name : 'WENotes to Chat'
merge_logs : true
out_file : '/tmp/wenotestochat.log'
out_file : '/opt/wenotes/logs/wenotestochat.log'
......@@ -14,7 +14,7 @@ RUN set -ex \
echo "PY=/usr/bin/python"; \
echo '8,18,28,38,48,58 * * * * root cd $WEDIR && nice $PY bookmarks.py && nice $PY medium.py'; \
echo '6,16,26,36,46,56 * * * * root cd $WEDIR && nice $PY mastodon.py && nice $PY hypothesis.py'; \
echo '4,14,24,34,44,54 * * * * root cd $WEDIR && nice $PY saylor-discourse.py && nice $PY feeds.py && nice $PY blog_feed.py'; \
echo '4,14,24,34,44,54 * * * * root cd $WEDIR && nice $PY saylor-discourse.py && nice $PY blog_feed.py'; \
echo '2,12,22,32,42,52 * * * * root cd $WEDIR && nice $PY forums.py && nice $PY discourse.py --full'; \
echo '*/1 * * * * root echo "Cron ran at $(date)" >> $LOG'; \
} | tee /etc/cron.d/wenotes-cron
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment