gogs
2022-08-10 10:39:16
chattr -R -i gogs
chattr -R -e gogs
chmod 777 gogs
nohup ./gogs web &
scp -r /root/gogs-repositories/* root@192.168.1.110:/root/gogs-repositories
\cp -f /root/gogs-repositories/wfg/wfg-service.git/hooks/post-receive /root/gogs-repositories/gogs/wordcheck.git/hooks/post-receive
\cp -f /root/gogs-repositories/wfg/wfg-service.git/hooks/pre-receive /root/gogs-repositories/gogs/wordcheck.git/hooks/pre-receive
\cp -f /root/gogs-repositories/wfg/wfg-service.git/hooks/update /root/gogs-repositories/gogs/wordcheck.git/hooks/update
cd /usr/local/gogsgogs ps -ef | grep gogsgogs kill -9 PID gogs nohup ./gogs web & gogs