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:
parent
efad9db133
commit
c76fb29712
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue