2022-03-21 12:25:55 +00:00
|
|
|
#!/bin/execlineb -P
|
2022-10-18 19:06:48 +00:00
|
|
|
s6-envdir -i /etc/s6/env/path
|
2022-03-21 12:25:55 +00:00
|
|
|
importas -i PATH PATH
|
2022-10-18 19:06:48 +00:00
|
|
|
|
|
|
|
s6-envdir -i /etc/s6/env/logger
|
2022-03-21 12:25:55 +00:00
|
|
|
importas -i LOGPREFIX LOGPREFIX
|
2022-10-18 19:06:48 +00:00
|
|
|
|
2022-10-21 18:41:16 +00:00
|
|
|
s6-envdir -I /etc/s6/env/logger.syslogd
|
2022-10-18 19:06:48 +00:00
|
|
|
importas -i LOGSIZE LOGSIZE
|
|
|
|
importas -i LOGARCHIVES LOGARCHIVES
|
|
|
|
|
2022-03-21 12:25:55 +00:00
|
|
|
emptyenv
|
|
|
|
|
|
|
|
export PATH $PATH
|
|
|
|
define LOGGERNAME syslogd
|
|
|
|
|
|
|
|
s6-log -d3 -- t s${LOGSIZE} n${LOGARCHIVES} ${LOGPREFIX}/${LOGGERNAME}
|