Skip to content

Commit

Permalink
Update restart policy
Browse files Browse the repository at this point in the history
  • Loading branch information
crackair committed Jun 16, 2021
1 parent db1aec9 commit f3ea080
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions XrayR.service
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ LimitNOFILE=999999
WorkingDirectory=/usr/local/XrayR/
ExecStart=/usr/local/XrayR/XrayR -config /etc/XrayR/config.yml
Restart=on-failure
RestartSec=5
StartLimitInterval=100s
StartLimitBurst=3
RestartSec=10

[Install]
WantedBy=multi-user.target

0 comments on commit f3ea080

Please sign in to comment.