From: Lennart Poettering Date: Fri, 13 Jun 2014 10:25:12 +0000 (+0200) Subject: units: don't conditionalize sysctl service X-Git-Tag: v215~465 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=d4c049bfcde7bd8ff8baaee4ff8aa3bd16d7be54 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. --- diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 5baf22c18..5c7c5d723 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