1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

Prepare for rsyslog

This commit is contained in:
Didier Barzin 2023-02-22 13:10:31 +01:00 committed by GitHub
parent efad9db133
commit c76fb29712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 exiftool # for extracting exif information
apt install -y unrar # for extracting rar files 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 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 # set .env
cd /home/$SUDO_USER/pandora cd /home/$SUDO_USER/pandora
@ -170,6 +171,9 @@ usermod -a -G input $SUDO_USER
# allow read mouse input # allow read mouse input
usermod -a -G tty $SUDO_USER usermod -a -G tty $SUDO_USER
# allow write to /var/log
usermod -a -G syslog $SUDO_USER
# Start Pandora at boot # Start Pandora at boot
cp pandora.service /etc/systemd/system/pandora.service cp pandora.service /etc/systemd/system/pandora.service
sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service