Skip to content

Commit

Permalink
Added disabling software CRON (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeAnSolovev authored Nov 24, 2024
1 parent 9d7ab3d commit 6b15f23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deb.install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ EOF

# Setting up the configuration file
sudo mv /var/www/torrentpier/.env.example /var/www/torrentpier/.env 2>&1 | sudo tee -a "$logsInst"
sed -i "s/APP_CRON_ENABLED=true/APP_CRON_ENABLED=false/g" /var/www/torrentpier/.env 2>&1 | sudo tee -a "$logsInst" > /dev/null
sed -i "s/DB_DATABASE=torrentpier/DB_DATABASE=$dbSql/g" /var/www/torrentpier/.env 2>&1 | sudo tee -a "$logsInst" > /dev/null
sed -i "s/DB_USERNAME=root/DB_USERNAME=$userSql/g" /var/www/torrentpier/.env 2>&1 | sudo tee -a "$logsInst" > /dev/null
sed -i "s/DB_PASSWORD=secret/DB_PASSWORD=$passSql/g" /var/www/torrentpier/.env 2>&1 | sudo tee -a "$logsInst" > /dev/null
Expand Down

0 comments on commit 6b15f23

Please sign in to comment.