Update ubuntu_setup for /scripts dir.

master
Snakes 2022-10-02 04:13:49 -04:00
parent b79a89560f
commit f28e605a58
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 5 additions and 3 deletions

View File

@ -12,8 +12,10 @@ cp ./env /env
sed -i 's/^/export /g;s/=/="/g;s/$/"/g' /env
. /env
cp ./startup.sh /s
cp ./startup_chat.sh /s2
mkdir /scripts
cp ./startup.sh /scripts/s
cp ./startup_chat.sh /scripts/s2
chmod +x /scripts/*
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
@ -79,4 +81,4 @@ echo "psql -U postgres" > /p
echo "tmux -S /tmp/s a -t 0" > /c
echo "tmux -S /tmp/s a -t 1" > /c2
echo "cd /rDrama && git pull" > /g
echo '{"Bots": true, "Fart mode": false, "Read-only mode": false, "Signups": true, "login_required": false}' > /site_settings.json
echo '{"Bots": true, "Fart mode": false, "Read-only mode": false, "Signups": true, "login_required": false}' > /site_settings.json