From 64cfb1ce19effd0c470c5a0a40798db6e6f37f90 Mon Sep 17 00:00:00 2001 From: Alistair Young Date: Sat, 10 Jul 2021 21:39:24 -0500 Subject: [PATCH] Updated systemd virtualization condition. --- src/debian/changelog | 6 ++++++ src/wsl-drop-caches.service | 2 +- src/wsl-drop-caches.timer | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/debian/changelog b/src/debian/changelog index d083e52..c57adcf 100644 --- a/src/debian/changelog +++ b/src/debian/changelog @@ -1,3 +1,9 @@ +wsl-drop-caches (0.3) buster bullseye bookworm sid focal bionic; urgency=medium + + * Change virtualization setting to "wsl" to match systemd change. + + -- Alistair Young Sat, 10 Jul 2021 21:36:00 -0500 + wsl-drop-caches (0.2) buster bullseye bookworm sid focal bionic; urgency=medium * Update systemd unit definitions. diff --git a/src/wsl-drop-caches.service b/src/wsl-drop-caches.service index fa874f5..c009365 100644 --- a/src/wsl-drop-caches.service +++ b/src/wsl-drop-caches.service @@ -1,7 +1,7 @@ [Unit] Description=Periodically drop caches to save memory under WSL. Documentation=https://github.com/arkane-systems/wsl-drop-caches -ConditionVirtualization=microsoft +ConditionVirtualization=wsl Requires=wsl-drop-caches.timer [Service] diff --git a/src/wsl-drop-caches.timer b/src/wsl-drop-caches.timer index 33f0282..6e7ce8c 100644 --- a/src/wsl-drop-caches.timer +++ b/src/wsl-drop-caches.timer @@ -1,7 +1,7 @@ [Unit] Description=Periodically drop caches to save memory under WSL. Documentation=https://github.com/arkane-systems/wsl-drop-caches -ConditionVirtualization=microsoft +ConditionVirtualization=wsl PartOf=wsl-drop-caches.service [Timer]