Hi! Could anybody help me with a small script in execline. I'm a complete newbe.
It's supposed to run s6-log with arguments loaded from a file. If there's no file it's falls back to default arguments. So far I have something like that, but it always runs the default: s6-log T s1000000 n10 /var/log/syslogd #!/usr/bin/execlineb -P if -nt { backtick -n S6_LOG_ARGS { redirfd -r 0 /opt/s6logargs.opts s6-cat } import -u S6_LOG_ARGS s6-log T $S6_LOG_ARGS } s6-log T s1000000 n10 /var/log/syslogd Thanks! Jan