6d424f91a5
clock synchronization mechanism rewritten to use systemd-timesync instead of NtpDate; at the moment, requires: - modifying /etc/qubes-rpc/policy/qubes.GetDate to redirect GetDate to designated clockvm - enabling clocksync service in clockvm ( qvm-features clockvm-name service/clocksync true ) Works as specified in issue listed below, except for: - each VM synces with clockvm after boot and every 6h - clockvm synces time with the Internet using systemd-timesync - dom0 synces itself with clockvm every 1h (using cron) fixes QubesOS/qubes-issues#1230
15 lines
321 B
Desktop File
15 lines
321 B
Desktop File
[Unit]
|
|
Description=Qubes suspend hooks
|
|
Before=sleep.target
|
|
StopWhenUnneeded=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
StandardOutput=syslog
|
|
ExecStart=/usr/lib64/pm-utils/sleep.d/52qubes-pause-vms suspend suspend
|
|
ExecStop=/usr/lib64/pm-utils/sleep.d/52qubes-pause-vms resume suspend
|
|
|
|
[Install]
|
|
WantedBy=sleep.target
|