depr -cfg flag & change to -c

This commit is contained in:
wjqserver 2025-03-29 12:01:46 +08:00
parent 153b544024
commit 4b37c6bb2b
7 changed files with 34 additions and 12 deletions

View file

@ -123,7 +123,7 @@ Description=Github Proxy Service
After=network.target
[Service]
ExecStart=/bin/bash -c '$ghproxy_dir/ghproxy -cfg $ghproxy_dir/config/config.toml > $ghproxy_dir/log/run.log 2>&1'
ExecStart=/bin/bash -c '$ghproxy_dir/ghproxy -c $ghproxy_dir/config/config.toml > $ghproxy_dir/log/run.log 2>&1'
WorkingDirectory=$ghproxy_dir
Restart=always
User=root