From f3dc6df44af2bdeac3a6fc5c0146b6fe2558a408 Mon Sep 17 00:00:00 2001 From: firesh Date: Mon, 24 Apr 2023 13:58:45 +0800 Subject: [PATCH] Fix service start command Signed-off-by: firesh --- release/local/sing-box.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/local/sing-box.service b/release/local/sing-box.service index 7ff91253..7bfcb192 100644 --- a/release/local/sing-box.service +++ b/release/local/sing-box.service @@ -6,7 +6,7 @@ After=network.target nss-lookup.target [Service] CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH -ExecStart=/usr/local/bin/sing-box -D /var/lib/sing-box -C /usr/local/etc/sing-box run +ExecStart=/usr/local/bin/sing-box -D /var/lib/sing-box -c /usr/local/etc/sing-box/config.json run ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure RestartSec=10s