diff options
Diffstat (limited to 'shib_secondary/remote/bwlp-master-socat@.service')
-rw-r--r-- | shib_secondary/remote/bwlp-master-socat@.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shib_secondary/remote/bwlp-master-socat@.service b/shib_secondary/remote/bwlp-master-socat@.service new file mode 100644 index 0000000..4e82880 --- /dev/null +++ b/shib_secondary/remote/bwlp-master-socat@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Tunnel TCP:%i connections to actual masterserver + +[Service] +Type=simple +Restart=always +ExecStart=/usr/bin/socat tcp-listen:%i,reuseaddr,su=nobody,fork tcp:%DOMAIN%:%i + +[Install] +WantedBy=multi-user.target |