void-packages/srcpkgs/socklog-void/INSTALL
2014-07-19 00:24:54 +02:00

28 lines
661 B
Plaintext

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 <user>
and then re-login to make it effective.
=======================================================================
_EOF
;;
esac