ソースを参照

Document how to change the listening port

Christoph Biedl 2 年 前
コミット
2a12a28182
1 ファイル変更24 行追加0 行削除
  1. 24 0
      debian/tang.README.Debian

+ 24 - 0
debian/tang.README.Debian

@@ -0,0 +1,24 @@
+Changing default listening port
+===============================
+
+The default listening port for the tangd service is 80, the usual HTTP
+port. If this causes a collision with other services, use
+
+    systemctl edit tangd.socket
+
+to create an override.
+
+To activate any changes:
+
+    systemctl restart tangd.socket
+
+As an example, the following content will
+
+* disable listening on port 80
+* enable listening on port 81 instead
+
+    [Socket]
+    ListenStream=
+    ListenStream=81
+
+See systemd.socket(5) for more options.