From c76fb297127efce3dd2116b0ecb007e04eaff3ca Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Wed, 22 Feb 2023 13:10:31 +0100 Subject: [PATCH] Prepare for rsyslog --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 5a08520..533740f 100755 --- a/install.sh +++ b/install.sh @@ -84,6 +84,7 @@ apt install -y libreoffice-base-nogui libreoffice-calc-nogui libreoffice-draw-no apt install -y exiftool # for extracting exif information apt install -y unrar # for extracting rar files apt install -y libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swig # for textract +apt install -y rsyslog # log logging # set .env cd /home/$SUDO_USER/pandora @@ -170,6 +171,9 @@ usermod -a -G input $SUDO_USER # allow read mouse input usermod -a -G tty $SUDO_USER +# allow write to /var/log +usermod -a -G syslog $SUDO_USER + # Start Pandora at boot cp pandora.service /etc/systemd/system/pandora.service sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service