{"id":2157,"date":"2024-10-28T15:05:37","date_gmt":"2024-10-28T07:05:37","guid":{"rendered":"https:\/\/www.ruianding.com\/blog\/?p=2157"},"modified":"2025-04-10T15:06:42","modified_gmt":"2025-04-10T07:06:42","slug":"setting-up-shadowsocks-as-a-systemd-service-on-linux","status":"publish","type":"post","link":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/","title":{"rendered":"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service"},"content":{"rendered":"\n<p>Using <code>systemd<\/code> to run Shadowsocks as a service on Linux allows it to start automatically on boot and provides more stability by ensuring automatic restarts if it encounters any issues. This guide walks you through creating a custom <code>systemd<\/code> service for Shadowsocks (<code>sslocal<\/code>) with a manual configuration option for a global proxy setting.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Create a systemd Service for Shadowsocks<\/h2>\n\n\n\n<p>1. <strong>Create the Service File<\/strong> Start by creating a service file for Shadowsocks in <code>\/etc\/systemd\/system\/<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo vi \/etc\/systemd\/system\/shadowsocks.service<\/pre>\n\n\n\n<p>2. <strong>Configure the Service<\/strong> Add the following configuration, adjusting the paths as needed:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[Unit]\nDescription=Shadowsocks Proxy Service\nAfter=network.target\n\n[Service]\n# Activate the virtual environment and start sslocal with the Shadowsocks config\nExecStart=\/bin\/bash -c 'source \/path\/to\/shadowsocks_env\/bin\/activate &amp;&amp; \/path\/to\/shadowsocks_env\/bin\/sslocal -c \/path\/to\/shadowsocks_env\/shadowsocks.json'\nExecReload=\/bin\/kill -HUP $MAINPID\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n\n\n\n<ul class=\"wp-block-list has-pale-cyan-blue-background-color has-background has-small-font-size\">\n<li><strong>ExecStart<\/strong>: Activates the virtual environment and runs <code>sslocal<\/code> with the specified configuration file.<\/li>\n\n\n\n<li class=\"has-small-font-size\"><strong>ExecReload<\/strong>: Allows the service to reload without restarting the entire system.<\/li>\n\n\n\n<li><strong>Restart<\/strong>: Ensures the service restarts automatically upon failure. Make sure to replace <code>\/path\/to\/shadowsocks_env\/<\/code> with the actual path to your Shadowsocks environment and configuration file.<\/li>\n<\/ul>\n\n\n\n<p>3. <strong>Enable and Start the Service<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reload <code>systemd<\/code> to apply the new service configuration: <code>sudo systemctl daemon-reload<\/code><\/li>\n\n\n\n<li>Enable the service to start on boot: <code>sudo systemctl enable shadowsocks<\/code><\/li>\n\n\n\n<li>Start the service: <code>sudo systemctl start shadowsocks<\/code><\/li>\n\n\n\n<li>Stop the service: <code>sudo systemctl stop shadowsocks<\/code><\/li>\n<\/ul>\n\n\n\n<p>4. <strong>Verify Service Status<\/strong> Use the following command to check if Shadowsocks is running as expected:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl status shadowsocks<\/pre>\n\n\n\n<p>You should see an <code>active (running)<\/code> status if everything is configured correctly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"313\" src=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-1024x313.png\" alt=\"\" class=\"wp-image-2158\" style=\"width:653px;height:auto\" srcset=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-1024x313.png 1024w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-300x92.png 300w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-768x235.png 768w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-1536x470.png 1536w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10.png 1542w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">(Optional) Manually Configure a Global Proxy for Terminal Applications<\/h2>\n\n\n\n<p>To direct all terminal traffic through Shadowsocks, you can manually set the <code>ALL_PROXY<\/code> environment variable. This can be useful for routing applications like <code>curl<\/code> through your Shadowsocks proxy.<\/p>\n\n\n\n<p><strong>1. Set the Global Proxy for the Current Session<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">export ALL_PROXY=socks5:\/\/127.0.0.1:1080\nexport http_proxy=socks5:\/\/127.0.0.1:1080\nexport https_proxy=socks5:\/\/127.0.0.1:1080<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This directs all terminal requests through the Shadowsocks SOCKS5 proxy.<\/li>\n\n\n\n<li><strong>To verify<\/strong>: Use a command like <code>curl<\/code> to test if the proxy is active.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"369\" src=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-11-1024x369.png\" alt=\"\" class=\"wp-image-2176\" style=\"width:584px;height:auto\" srcset=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-11-1024x369.png 1024w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-11-300x108.png 300w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-11-768x277.png 768w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-11-1536x554.png 1536w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-11.png 1554w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>2. Unset the Global Proxy:<\/strong> To remove the global proxy setting from your environment<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">unset ALL_PROXY<\/pre>\n\n\n\n<p><strong>3. Verify if the <code>ALL_PROXY<\/code> has been set up:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">echo $ALL_PROXY<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>With Shadowsocks configured as a <code>systemd<\/code> service, you gain the benefit of automatic startup on boot and continuous operation, thanks to <code>systemd<\/code>\u2019s restart capability. The optional manual global proxy setting gives you flexibility to selectively route traffic through Shadowsocks as needed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using systemd to run Shadowsocks as a service on Linux allows it to start automatically on boot and provides more stability by ensuring automatic restarts if it encounters any issues. This guide walks you through creating a custom systemd service for Shadowsocks (sslocal) with a manual configuration option for a global proxy setting. Create a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[1,10],"tags":[62],"class_list":["post-2157","post","type-post","status-publish","format-standard","hentry","category-miscellaneous","category-tutorial","tag-shadowsocks"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service - \u6781\u7b80IT\uff5cSimpleIT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service - \u6781\u7b80IT\uff5cSimpleIT\" \/>\n<meta property=\"og:description\" content=\"Using systemd to run Shadowsocks as a service on Linux allows it to start automatically on boot and provides more stability by ensuring automatic restarts if it encounters any issues. This guide walks you through creating a custom systemd service for Shadowsocks (sslocal) with a manual configuration option for a global proxy setting. Create a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6781\u7b80IT\uff5cSimpleIT\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T07:05:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-10T07:06:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1542\" \/>\n\t<meta property=\"og:image:height\" content=\"472\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ruian Ding\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ruian Ding\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/\"},\"author\":{\"name\":\"Ruian Ding\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\"},\"headline\":\"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service\",\"datePublished\":\"2024-10-28T07:05:37+00:00\",\"dateModified\":\"2025-04-10T07:06:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/\"},\"wordCount\":315,\"publisher\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\"},\"image\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-1024x313.png\",\"keywords\":[\"Shadowsocks\"],\"articleSection\":[\"Miscellaneous\",\"Tutorial\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/\",\"url\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/\",\"name\":\"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service - \u6781\u7b80IT\uff5cSimpleIT\",\"isPartOf\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-1024x313.png\",\"datePublished\":\"2024-10-28T07:05:37+00:00\",\"dateModified\":\"2025-04-10T07:06:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage\",\"url\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10.png\",\"contentUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10.png\",\"width\":1542,\"height\":472},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ruianding.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/#website\",\"url\":\"https:\/\/www.ruianding.com\/blog\/\",\"name\":\"Ruian's Tech Troubleshooting Toolbox\",\"description\":\"Debug the World.\",\"publisher\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\"},\"alternateName\":\"\u4e01\u777f\u5b89\u7684\u6280\u672f\u5206\u4eab\u535a\u5ba2\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ruianding.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\",\"name\":\"Ruian Ding\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png\",\"contentUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png\",\"width\":284,\"height\":284,\"caption\":\"Ruian Ding\"},\"logo\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"I am currently a Support Specialist at NIO, focusing on cloud-related issues for NIO Power. Previously, at Microsoft Entra ID, I specialized in identity and access management (IAM), including device registration, Windows Hello for Business (WHfB), multi-factor authentication (MFA), and single sign-on (SSO). In addition to my core expertise, I have a strong foundation in Active Directory, Servers, Cloud Computing, Network Administration, and Front-end Web Development. This diverse technical skill set enables me to effectively handle a wide range of challenges in a fast-paced IT environment.\",\"sameAs\":[\"https:\/\/www.ruianding.com\"],\"url\":\"https:\/\/www.ruianding.com\/blog\/author\/ruiand\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service - \u6781\u7b80IT\uff5cSimpleIT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/","og_locale":"en_US","og_type":"article","og_title":"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service - \u6781\u7b80IT\uff5cSimpleIT","og_description":"Using systemd to run Shadowsocks as a service on Linux allows it to start automatically on boot and provides more stability by ensuring automatic restarts if it encounters any issues. This guide walks you through creating a custom systemd service for Shadowsocks (sslocal) with a manual configuration option for a global proxy setting. Create a [&hellip;]","og_url":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/","og_site_name":"\u6781\u7b80IT\uff5cSimpleIT","article_published_time":"2024-10-28T07:05:37+00:00","article_modified_time":"2025-04-10T07:06:42+00:00","og_image":[{"width":1542,"height":472,"url":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10.png","type":"image\/png"}],"author":"Ruian Ding","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ruian Ding","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#article","isPartOf":{"@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/"},"author":{"name":"Ruian Ding","@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b"},"headline":"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service","datePublished":"2024-10-28T07:05:37+00:00","dateModified":"2025-04-10T07:06:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/"},"wordCount":315,"publisher":{"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b"},"image":{"@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-1024x313.png","keywords":["Shadowsocks"],"articleSection":["Miscellaneous","Tutorial"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/","url":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/","name":"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service - \u6781\u7b80IT\uff5cSimpleIT","isPartOf":{"@id":"https:\/\/www.ruianding.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10-1024x313.png","datePublished":"2024-10-28T07:05:37+00:00","dateModified":"2025-04-10T07:06:42+00:00","breadcrumb":{"@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#primaryimage","url":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10.png","contentUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2024\/10\/image-10.png","width":1542,"height":472},{"@type":"BreadcrumbList","@id":"https:\/\/www.ruianding.com\/blog\/setting-up-shadowsocks-as-a-systemd-service-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ruianding.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Shadowsocks on Linux \u2013 Part 2: Setting Up Shadowsocks as a systemd Service"}]},{"@type":"WebSite","@id":"https:\/\/www.ruianding.com\/blog\/#website","url":"https:\/\/www.ruianding.com\/blog\/","name":"Ruian's Tech Troubleshooting Toolbox","description":"Debug the World.","publisher":{"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b"},"alternateName":"\u4e01\u777f\u5b89\u7684\u6280\u672f\u5206\u4eab\u535a\u5ba2","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ruianding.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b","name":"Ruian Ding","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png","contentUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png","width":284,"height":284,"caption":"Ruian Ding"},"logo":{"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/"},"description":"I am currently a Support Specialist at NIO, focusing on cloud-related issues for NIO Power. Previously, at Microsoft Entra ID, I specialized in identity and access management (IAM), including device registration, Windows Hello for Business (WHfB), multi-factor authentication (MFA), and single sign-on (SSO). In addition to my core expertise, I have a strong foundation in Active Directory, Servers, Cloud Computing, Network Administration, and Front-end Web Development. This diverse technical skill set enables me to effectively handle a wide range of challenges in a fast-paced IT environment.","sameAs":["https:\/\/www.ruianding.com"],"url":"https:\/\/www.ruianding.com\/blog\/author\/ruiand\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts\/2157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/comments?post=2157"}],"version-history":[{"count":20,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts\/2157\/revisions"}],"predecessor-version":[{"id":2771,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts\/2157\/revisions\/2771"}],"wp:attachment":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/media?parent=2157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/categories?post=2157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/tags?post=2157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}