This commit is contained in:
WJQSERVER 2024-10-14 16:16:04 +08:00
parent 2edb6f6dd7
commit 18f78385f3
10 changed files with 153 additions and 32 deletions

13
deploy/ghproxy.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Github Proxy Service
After=network.target
[Service]
ExecStart=/bin/bash -c '/root/data/ghproxy/ghproxy -cfg /root/data/ghproxy/config/config.toml > /root/data/ghproxy/log/run.log 2>&1'
WorkingDirectory=/root/data/ghproxy
Restart=always
User=root
Group=root
[Install]
WantedBy=multi-user.target