From 11150b4f691ad58da396a7a7f657b2ca8e9de290 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 10 Nov 2021 02:50:20 +0100 Subject: [PATCH] swapfile --- bundles/systemd-swap/items.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/systemd-swap/items.py b/bundles/systemd-swap/items.py index c919db3..9f0e66a 100644 --- a/bundles/systemd-swap/items.py +++ b/bundles/systemd-swap/items.py @@ -43,8 +43,9 @@ svc_systemd = { 'action:initialize_swapfile', }, 'needs': { + 'file:/swapfile', + 'action:initialize_swapfile', 'action:systemd-reload', - 'action:create_swapfile', }, }, }