update
This commit is contained in:
parent
102f488b39
commit
818d6bedbb
|
|
@ -0,0 +1,10 @@
|
|||
# README
|
||||
|
||||
## proxy@.service
|
||||
|
||||
systemctl --user start proxy@alice
|
||||
systemctl --user start proxy@red
|
||||
|
||||
`~/.ssh/config` is where the proxy configs are stored.
|
||||
|
||||
`Conflicts=` is where to add new proxies to make them mutually exclusive.
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=SOCKS Proxy (%i)
|
||||
After=network-online.target
|
||||
Conflicts=proxy@alice.service proxy@red.service proxy@kermit.service proxy@singsay.service proxy@ministry.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/ssh -N proxy-%i
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Reference in New Issue