From 8b450284e463c29639a4efe0e7a78309c75f427c Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Fri, 18 Nov 2016 18:06:55 +0100 Subject: [PATCH] Fix scw-swapfile.service: You have to use RemainAfterExit=yes or ExecStop is executed too --- skeleton-systemd/etc/systemd/system/scw-swapfile.service | 1 + 1 file changed, 1 insertion(+) diff --git a/skeleton-systemd/etc/systemd/system/scw-swapfile.service b/skeleton-systemd/etc/systemd/system/scw-swapfile.service index 90b8e2e..915e667 100644 --- a/skeleton-systemd/etc/systemd/system/scw-swapfile.service +++ b/skeleton-systemd/etc/systemd/system/scw-swapfile.service @@ -7,6 +7,7 @@ Before=sysinit.target Type=oneshot ExecStart=/usr/local/sbin/scw-swapfile start ExecStop=-/usr/local/sbin/scw-swapfile stop +RemainAfterExit=yes [Install] WantedBy=multi-user.target