From d4c049bfcde7bd8ff8baaee4ff8aa3bd16d7be54 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Jun 2014 12:25:12 +0200 Subject: units: don't conditionalize sysctl service We install two sysctl snippets ourselves, hence the condition will always trigger, so no point in tryng to optimize things with this, it just will make things slower, if anything. --- units/systemd-sysctl.service.in | 5 ----- 1 file changed, 5 deletions(-) (limited to 'units/systemd-sysctl.service.in') diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 5baf22c183..5c7c5d723e 100644 --- a/units/systemd-sysctl.service.in +++ b/units/systemd-sysctl.service.in @@ -13,11 +13,6 @@ Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service Before=sysinit.target shutdown.target ConditionPathIsReadWrite=/proc/sys/ -ConditionDirectoryNotEmpty=|/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/local/lib/sysctl.d -ConditionDirectoryNotEmpty=|/etc/sysctl.d -ConditionDirectoryNotEmpty=|/run/sysctl.d [Service] Type=oneshot -- cgit v1.2.3-54-g00ecf