17 lines
661 B
Text
17 lines
661 B
Text
|
#!/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
|