From 78f96a9fbdb696390422fcb2da1dc43d4c8c615f Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Tue, 9 Jan 2018 01:29:05 +0100 Subject: [PATCH] systemd: Don't start without essential system services Starting bees right after local-fs.target is probably not what we want, as basic setup of the system might not have been done (like udev, cryptsetup, sysctl, swap, etc). Let's start only after sysinit.target instead which guarantees that all basic setup has been done, most importantly, sysctl, udev, and swap have been setup which may apply important tweaks, configuration, and tuning. Signed-off-by: Kai Krakow --- scripts/beesd@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/beesd@.service.in b/scripts/beesd@.service.in index 185620d..6115c62 100644 --- a/scripts/beesd@.service.in +++ b/scripts/beesd@.service.in @@ -1,6 +1,6 @@ [Unit] Description=Bees - Best-Effort Extent-Same, a btrfs deduplicator daemon: %i -After=local-fs.target +After=sysinit.target [Service] Type=simple