summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2024-01-22 10:42:50 +0300
committerOxore <oxore@protonmail.com>2024-01-22 10:42:50 +0300
commit25f3e5b4a9133a901cc457270d542ae43e736b44 (patch)
treecb8cbf3efd8f9a2623190d3a6918b9806811e3ed
parentd3d0077e587c53b4f8a2dc89aac6b2239f425cf2 (diff)
wg_shadowsocks: Explain how to run with systemd
-rw-r--r--source/wg_shadowsocks.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/wg_shadowsocks.rst b/source/wg_shadowsocks.rst
index d0c9cda..7fa418a 100644
--- a/source/wg_shadowsocks.rst
+++ b/source/wg_shadowsocks.rst
@@ -90,3 +90,10 @@ larger than 1376.
On Gentoo the line ``mtu_wg0="1376"`` does not work out of the box. The possible
fix can be found here:
https://forums.gentoo.org/viewtopic-t-1152029-start-0.html.
+
+On ``systemd`` system like Arch you can install ``extra/shadowsocks-rust``
+package, place ``config.json`` file as ``/etc/shadowsocks/mysocks.json`` and run
+it like this::
+
+ systemctl enable shadowsocks-rust@mysocks.service
+ systemctl start shadowsocks-rust@mysocks.service