Skip to content

Commit

Permalink
systemd: increase RestartSec to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilledheart committed Sep 27, 2024
1 parent f6c1561 commit 017485c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions yass-redir.old.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Type=exec
User=nobody
ExecStart=/usr/bin/yass_cli -c /etc/yass/redir.json -logtostderr --redir_mode
Restart=on-failure
RestartSec=5s
RestartPreventExitStatus=23

[Install]
Expand Down
1 change: 1 addition & 0 deletions yass-redir.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DynamicUser=yes
LogsDirectory=yass-redir
ExecStart=/usr/bin/yass_cli -c /etc/yass/redir.json -log_dir=/var/log/yass-redir --redir_mode
Restart=on-failure
RestartSec=5s
RestartPreventExitStatus=23

[Install]
Expand Down
1 change: 1 addition & 0 deletions yass.old.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Type=exec
User=nobody
ExecStart=/usr/bin/yass_cli -c /etc/yass/config.json -logtostderr
Restart=on-failure
RestartSec=5s
RestartPreventExitStatus=23

[Install]
Expand Down
1 change: 1 addition & 0 deletions yass.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DynamicUser=yes
LogsDirectory=yass
ExecStart=/usr/bin/yass_cli -c /etc/yass/config.json -log_dir=/var/log/yass
Restart=on-failure
RestartSec=5s
RestartPreventExitStatus=23

[Install]
Expand Down

0 comments on commit 017485c

Please sign in to comment.