Skip to content

Commit

Permalink
Increase RestartSec time to a reasonable value (#13217)
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Sep 11, 2021
1 parent c1846c2 commit b561ebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc/librenms.service
Expand Up @@ -8,7 +8,7 @@ ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/opt/librenms
User=librenms
Group=librenms
RestartSec=2
RestartSec=10
Restart=always

[Install]
Expand Down
2 changes: 1 addition & 1 deletion misc/librenms.service.scl
Expand Up @@ -8,7 +8,7 @@ ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/opt/librenms
User=librenms
Group=librenms
RestartSec=2
RestartSec=10
Restart=always

[Install]
Expand Down

2 comments on commit b561ebb

@ottorei
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be some sort of a notice / check to update existing installations to use the latest systemd units? Validate.php should probably check and complain if the unit file differs from the local git repo.

@murrant
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think it won't matter for most people whether this is 2 or 10

Please sign in to comment.