From: Michael Brown Date: Wed, 27 Nov 2013 07:25:52 +0000 (+0000) Subject: runit: syslog support X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=68a035e1abc78f505fc92e32e4c3fd65be2ca433;p=discourse_docker.git runit: syslog support * runit: add -f to cron config (avoid auto-backgrounding) * runit: add rsyslog config --- diff --git a/standalone.template.yml b/standalone.template.yml index e6f39fc..ef386c3 100644 --- a/standalone.template.yml +++ b/standalone.template.yml @@ -43,7 +43,16 @@ run: #!/bin/bash exec 2>&1 cd / - exec cron + exec cron -f + + - file: + path: /etc/service/rsyslog/run + chmod: "+x" + contents: | + #!/bin/bash + exec 2>&1 + cd / + exec rsyslogd -n - file: path: /var/lib/postgresql/take-database-backup