mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
fix folder
This commit is contained in:
parent
6cb710f4ca
commit
7346ca2367
1 changed files with 5 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
#================================
|
||||
|
||||
set -e
|
||||
cd ~
|
||||
cd /home/$SUDO_USER
|
||||
|
||||
#---------------------
|
||||
# Python
|
||||
|
@ -24,7 +24,6 @@ su - $SUDO_USER -c "poetry --version"
|
|||
#---------------------
|
||||
# REDIS
|
||||
#---------------------
|
||||
apt-get update
|
||||
apt install -y build-essential tcl
|
||||
|
||||
git clone https://github.com/redis/redis.git
|
||||
|
@ -96,7 +95,9 @@ dpkg --ignore-depends=libssl0.9.8 -i cav-linux_x64.deb
|
|||
wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/COMODO/scanners/bases.cav
|
||||
|
||||
# Configure workers
|
||||
su - $SUDO_USER -c "cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done"
|
||||
su - $SUDO_USER -c 'cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done'
|
||||
|
||||
su - pandora -c 'cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done'
|
||||
|
||||
#---------------------
|
||||
# Pandora-box
|
||||
|
@ -126,7 +127,7 @@ usermod -a -G video $SUDO_USER
|
|||
usermod -a -G input $SUDO_USER
|
||||
|
||||
# Start Pandora at boot
|
||||
cp pandora.service.sample /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
|
||||
systemctl daemon-reload
|
||||
systemctl enable pandora
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue