From 68a035e1abc78f505fc92e32e4c3fd65be2ca433 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 27 Nov 2013 07:25:52 +0000 Subject: [PATCH] runit: syslog support * runit: add -f to cron config (avoid auto-backgrounding) * runit: add rsyslog config --- standalone.template.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.25.1