瀏覽代碼

Onion route syncthing

Bob Mottram 9 年之前
父節點
當前提交
bb0047752a
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone 查看文件

6144
     echo '' >> /etc/systemd/system/syncthing.service
6144
     echo '' >> /etc/systemd/system/syncthing.service
6145
     echo '[Service]' >> /etc/systemd/system/syncthing.service
6145
     echo '[Service]' >> /etc/systemd/system/syncthing.service
6146
     echo 'User=root' >> /etc/systemd/system/syncthing.service
6146
     echo 'User=root' >> /etc/systemd/system/syncthing.service
6147
+    echo "Environment='all_proxy=socks5://localhost:9050'" >> /etc/systemd/system/syncthing.service
6147
     echo 'ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0' >> /etc/systemd/system/syncthing.service
6148
     echo 'ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0' >> /etc/systemd/system/syncthing.service
6148
     echo 'Restart=on-failure' >> /etc/systemd/system/syncthing.service
6149
     echo 'Restart=on-failure' >> /etc/systemd/system/syncthing.service
6149
     echo 'SuccessExitStatus=3 4' >> /etc/systemd/system/syncthing.service
6150
     echo 'SuccessExitStatus=3 4' >> /etc/systemd/system/syncthing.service