Skip to content

Commit

Permalink
Change systemd service restart interval to 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
GreaterFire committed Mar 25, 2020
1 parent 5f161d3 commit d319746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/trojan.service-example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/trojan @CMAKE_INSTALL_FULL_SYSCONFDIR@/trojan/@[email protected]
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=3s
RestartSec=1s

[Install]
WantedBy=multi-user.target

0 comments on commit d319746

Please sign in to comment.