Add pi-purple/autorun
This commit is contained in:
parent
9f13fe242d
commit
641ee9513d
1 changed files with 16 additions and 0 deletions
16
pi-purple/autorun
Normal file
16
pi-purple/autorun
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
# revpfw3 thread
|
||||
(
|
||||
while true; do revpfw3 client tudbut.de 222 localhost 22 _____ ; sleep 5 ; done & disown
|
||||
while true; do revpfw3 client tudbut.de 200 localhost 8200 _____ ; sleep 5 ; done & disown
|
||||
while true; do revpfw3 client tudbut.de 6167 localhost 6167 _____ ; sleep 5 ; done & disown
|
||||
while true; do revpfw3 client tudbut.de 44404 localhost 4000 _____ ; sleep 5 ; done & disown
|
||||
) > /var/log/autorun.revpfw3.log 2>&1 & disown
|
||||
|
||||
sudo chmod a+rw /var/run/docker.sock
|
||||
for dir in /home/git-run/*/ ; do
|
||||
sudo -u git-run bash -c "cd $dir; while true ; do forgejo-runner daemon > log 2>&1 ; done" & disown
|
||||
done
|
||||
|
||||
while true; do sleep 60; done
|
Loading…
Add table
Reference in a new issue