forked from rDrama/rDrama
1
0
Fork 0

add rest of scripts

master
Aevann 2023-07-26 22:15:37 +03:00
parent ddbccb6fce
commit e10065511b
8 changed files with 14 additions and 2 deletions

1
scripts/c 100644
View File

@ -0,0 +1 @@
journalctl -u rdrama -e -f

2
scripts/c2 100644
View File

@ -0,0 +1,2 @@
nano /var/log/rdrama/cron.log
rm /var/log/rdrama/cron.log

1
scripts/c3 100644
View File

@ -0,0 +1 @@
journalctl -u rdrama-chat -e -f

1
scripts/c4 100644
View File

@ -0,0 +1 @@
journalctl -u rdrama-marseyworld -e -f

7
scripts/g 100644
View File

@ -0,0 +1,7 @@
cd /d
git add .
git commit -m "sneed"
git pull
git push
chown -R rdrama:rdrama /d
chown -R rdrama:rdrama /var/log/rdrama

1
scripts/p 100644
View File

@ -0,0 +1 @@
psql "$DATABASE_URL"

1
scripts/pw 100644
View File

@ -0,0 +1 @@
psql "$DATABASE_URL" -c "update users set passhash=(select passhash from users where username='Aev9') where id=$1;";

View File

@ -1,5 +1,3 @@
#!/bin/bash
cd /staging
git pull
. /es