From 1473905fd7b31abafb54929fbd3c84e53cdc7841 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 28 Feb 2015 21:41:29 +0000 Subject: Update s6 example files Change -t to t for s6-log scripts: With the release of s6 v2.1.1.0 the -t flag to s6-log was depricated and replaced with a per-match control directive. This updates the example scripts to follow the current supported logging syntax. Update syslogd-linux example logger: It's helpful if you're doing syslog-style logging to split your log streams into different files in addition to a consolidated log. This change also splits the logging script out to be easier to manage. This also serves a second purpose of highlighting the fact that s6-log supports multiple log targets. Remove (most) absolute paths for non-init replacement s6-svscan: With non-slashpackage installs becoming the default, odds are that the execline and s6 binaries will be installed somewhere in the path. While all the example scripts still make calls to /command/execlineb, it makes sense to reduce the amount of editing needed to make these scripts work. Updating gitignore to skip trying to add vim turds --- examples/s6-svscanboot | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/s6-svscanboot') diff --git a/examples/s6-svscanboot b/examples/s6-svscanboot index 6a25ced..2e36623 100755 --- a/examples/s6-svscanboot +++ b/examples/s6-svscanboot @@ -1,8 +1,8 @@ #!/command/execlineb -P -/command/exec -c -/command/redirfd -wnb 1 /service/s6-svscan-log/fifo -/command/fdmove -c 2 1 -/command/s6-envdir -I /service/.s6-svscan/env -/command/exec -a s6-svscan -/command/s6-svscan -t0 /service +exec -c +redirfd -wnb 1 /service/s6-svscan-log/fifo +fdmove -c 2 1 +s6-envdir -I /service/.s6-svscan/env +exec -a s6-svscan +s6-svscan -t0 /service -- cgit v1.2.3