ports/main/nnd-s6-services/rc/desktop/logger.dwm/run

14 lines
310 B
Plaintext
Raw Normal View History

2022-03-21 12:25:55 +00:00
#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/core/path
importas -i PATH PATH
s6-envdir /etc/s6/env/core/logger
importas -i LOGPREFIX LOGPREFIX
emptyenv
export PATH $PATH
define LOGGERNAME dwm
define LOGSIZE 1000000
define LOGARCHIVES 20
s6-log -d3 -- t s${LOGSIZE} n${LOGARCHIVES} ${LOGPREFIX}/${LOGGERNAME}