Skip to content

Commit

Permalink
起動時のエラー(exit code 1)の場合は再起動の対象外にする
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexa committed Aug 25, 2023
1 parent 0ae4bd2 commit 9968f26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/kohaku.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ Description=WebRTC Stats Collector Kohaku
After=network.target

[Service]
Restart=always
Restart=on-failure
RestartSec=60s
RestartPreventExitStatus=1
KillMode=control-group
User=shiguredo
Group=shiguredo
Expand Down

0 comments on commit 9968f26

Please sign in to comment.