Skip to content

Commit

Permalink
Updated systemd virtualization condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
cerebrate committed Jul 11, 2021
1 parent 6c48ec4 commit 64cfb1c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <avatar@arkane-systems.net> 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.
Expand Down
2 changes: 1 addition & 1 deletion src/wsl-drop-caches.service
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/wsl-drop-caches.timer
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 64cfb1c

Please sign in to comment.