Browse Source

Added systemd service example files

Eliezer Croitoru 6 months ago
parent
commit
02941b42c2

+ 13 - 0
systemd-service-files/sctp-to-tcp-px.service

@@ -0,0 +1,13 @@
+[Unit]
+Description=SCTP to TCP proxy
+#After=network.target
+
+[Service]
+Type=simple
+#WorkingDirectory=/home/nanodano
+ExecStart=/opt/bin/sctp-to-tcp_linux_amd64 -connect-ip=127.0.0.1 -connect-port=3128 -listen-ip=:: -listen-port=3128
+Restart=on-failure
+# Other Restart options: or always, on-abort, etc
+
+[Install]
+WantedBy=multi-user.target

+ 13 - 0
systemd-service-files/tcp-to-sctp-px.service

@@ -0,0 +1,13 @@
+[Unit]
+Description=TCP to SCTP proxy
+#After=network.target
+
+[Service]
+Type=simple
+#WorkingDirectory=/home/nanodano
+ExecStart=/opt/bin/tcp-to-sctp_linux_amd64 -connect-ip=px.ngtech.co.il -connect-port=3128 -listen-ip=:: -listen-port=3128
+Restart=on-failure
+# Other Restart options: or always, on-abort, etc
+
+[Install]
+WantedBy=multi-user.target