jobextra/artix-socklog/socklog.sv.logrun
2023-10-02 11:24:30 +03:00

8 lines
258 B
Bash

#!/bin/sh
if [ ! -d /var/log/socklog ]; then
for folder in cron daemon debug errors everything lpr \
mail messages remote-udp secure tty12 user ;do
mkdir -p /var/log/socklog/$folder
done
fi
exec chpst -uroot svlogd /var/log/socklog/*