case "$ACTION" in post) setcap cap_syslog+ep /usr/bin/nanoklogd chown -R root:socklog /var/log/socklog chmod 2750 /var/log/socklog/* cat <<_EOF ======================================================================= To enable socklog-void, start the following runit services, and ensure no other syslogd is running: * socklog-unix * nanoklogd Logs reside in /var/log/socklog/*, use svlogtail for simple access. To access logs as ordinary user, add yourself to group socklog: # sudo usermod -a -G socklog and then re-login to make it effective. ======================================================================= _EOF ;; esac