fix error with here document in install script

dev
Bryan 2020-11-02 23:58:30 -06:00
parent 2d03ea9e11
commit 04db840095
1 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ if [ ! -d /var/log/borgwrapper ]; then
mkdir /var/log/borgwrapper
fi
(
cat <<EOF
/var/log/borgwrapper/borgwrapper.log {
daily
@ -46,7 +47,8 @@ cat <<EOF
nocompress
create
}
EOF > /etc/logrotate/logrotate.d/borgwrapper
EOF
) > /etc/logrotate/logrotate.d/borgwrapper