Browse Source

Create a sample systemd unit for tcp proxy

travis laduke 2 năm trước cách đây
mục cha
commit
dc54e0e1c4
1 tập tin đã thay đổi với 14 bổ sung0 xóa
  1. 14 0
      tcp-proxy/zerotier-proxy.service

+ 14 - 0
tcp-proxy/zerotier-proxy.service

@@ -0,0 +1,14 @@
+[Unit]
+Description=ZeroTier TCP Proxy sample unit
+
+[Service]
+ExecStart=/var/lib/zerotier-one/tcp-proxy
+Restart=on-failure
+
+# The zerotier-one install script creates this user/group
+User=zerotier-one
+Group=zerotier-one
+
+
+[Install]
+WantedBy=multi-user.target