mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
systemd: reset housekeeping timer at each start
Currently housekeeping timer won't be reset when we restart scylla-server. We expect the service to be run at each start, it will be consistent with upstart script in Ubuntu 14.04 When we restart scylla-server, housekeepting timer will also be restarted, so let's replace "OnBootSec" with "OnActiveSec". Fixes: #1601 Signed-off-by: Amos Kong <amos@scylladb.com> Message-Id: <a22943cc11a3de23db266c52fd476c08014098c4.1480607401.git.amos@scylladb.com>
This commit is contained in:
@@ -4,7 +4,8 @@ After=scylla-server.service
|
||||
BindsTo=scylla-server.service
|
||||
|
||||
[Timer]
|
||||
OnBootSec=3
|
||||
# set OnActiveSec to 3 to safely avoid issues/1846
|
||||
OnActiveSec=3
|
||||
OnUnitActiveSec=1d
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user