mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 06:32:34 +02:00
2021-06-04 Fred Gleason <fredg@paravelsystems.com>
* Corrected file permissions and ownerships for rsyslog in 'debian/postinst'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
0d0e9f46a7
commit
64eb9860ce
@ -21862,3 +21862,6 @@
|
||||
* Cleaned up compile warnings in rdgen(1).
|
||||
2021-06-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up 'unused variable' warnings in 'apis/rivcapi/'.
|
||||
2021-06-04 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Corrected file permissions and ownerships for rsyslog in
|
||||
'debian/postinst'.
|
||||
|
12
debian/postinst
vendored
12
debian/postinst
vendored
@ -52,8 +52,16 @@ case "$1" in
|
||||
fi
|
||||
|
||||
mkdir -p /var/log/rivendell
|
||||
if test ! -e /etc/rsyslog.d/rivendell.conf ; then
|
||||
cp /usr/share/rivendell/syslog.conf-sample /etc/rsyslog.d/rivendell.conf
|
||||
chmod 750 /var/log/rivendell
|
||||
chown root:syslog /var/log/rivendell
|
||||
touch /var/log/rivendell/operations
|
||||
chmod 640 /var/log/rivendell/operations
|
||||
chown syslog:adm /var/log/rivendell/operations
|
||||
touch /var/log/rivendell/debug
|
||||
chmod 640 /var/log/rivendell/debug
|
||||
chown syslog:adm /var/log/rivendell/debug
|
||||
if test ! -e /etc/rsyslog.d/10-rivendell.conf ; then
|
||||
cp /usr/share/rivendell/syslog.conf-sample /etc/rsyslog.d/10-rivendell.conf
|
||||
fi
|
||||
/bin/systemctl restart rsyslog
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user