1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00
This commit is contained in:
ericgaspar 2021-07-08 12:03:57 +02:00
parent e6f1aca41d
commit 62a07eb4f3
2 changed files with 3 additions and 3 deletions

View file

@ -83,10 +83,10 @@ delete_after = "30m"
[proxy] [proxy]
# Dispatch will make all outgoing connections through the specified proxy when enabled # Dispatch will make all outgoing connections through the specified proxy when enabled
enabled = false enabled = true
protocol = "socks5" protocol = "socks5"
host = "127.0.0.1" host = "127.0.0.1"
port = 1080 port = __PORT__
username = "" username = ""
password = "" password = ""

View file

@ -7,7 +7,7 @@ After=network-online.target
Type=simple Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
ExecStart=__FINALPATH__/dispatch -a 0.0.0.0 -p __PORT__ ExecStart=__FINALPATH__/dispatch -a 127.0.0.1 -p __PORT__
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
StartLimitInterval=60s StartLimitInterval=60s