mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
14 lines
417 B
Text
14 lines
417 B
Text
# arg 1: the new package version
|
|
post_install() {
|
|
echo "Before starting klogwatch the log file to be monitored must be
|
|
readable. For example as root: chown 644 /var/log/<logfile>
|
|
To make the permissions to be set on boot edit /etc/syslog-ng.conf
|
|
and add perm(644) after the log file to be monitored
|
|
For example:
|
|
destination iptables { file("/var/log/iptables.log" perm(644)); }"
|
|
/bin/true
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|