void-packages/srcpkgs/socklog-void/INSTALL

28 lines
661 B
Text
Raw Normal View History

2014-07-18 22:24:54 +00:00
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