
use rsync to synchronize guest logs to the controller node so that we can find the logs even after the instance is deleted Add a guest-log-collection timer, this timer triggers guest-log-collection service every 10 seconds Change-Id: I264235ce7b7df585358654c46bdac4dcd743fb3d
11 lines
196 B
SYSTEMD
11 lines
196 B
SYSTEMD
[Unit]
|
|
Description=OpenStack Trove Guest Log Collection Timer
|
|
|
|
[Timer]
|
|
OnActiveSec=10s
|
|
OnUnitInactiveSec=10s
|
|
Unit=guest-log-collection.service
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |