From d319746036d8cf9b621e46a70ffecc1925ad7dbc Mon Sep 17 00:00:00 2001 From: GreaterFire <32649575+GreaterFire@users.noreply.github.com> Date: Tue, 24 Mar 2020 22:21:59 -0700 Subject: [PATCH] Change systemd service restart interval to 1s --- examples/trojan.service-example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/trojan.service-example b/examples/trojan.service-example index ff0a6db9..d17c1b3a 100644 --- a/examples/trojan.service-example +++ b/examples/trojan.service-example @@ -11,7 +11,7 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/trojan @CMAKE_INSTALL_FULL_SYSCONFDIR@/trojan/@CONFIG_NAME@.json ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure -RestartSec=3s +RestartSec=1s [Install] WantedBy=multi-user.target