summaryrefslogtreecommitdiff
path: root/units/systemd-sysctl.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-13 12:25:12 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-13 13:26:32 +0200
commitd4c049bfcde7bd8ff8baaee4ff8aa3bd16d7be54 (patch)
treebf425caaa82331907d77913bd917d10e589d4808 /units/systemd-sysctl.service.in
parentdb62b5b37e7d9ebf7d6b8f2709e6a51bbf8f77ee (diff)
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.
Diffstat (limited to 'units/systemd-sysctl.service.in')
-rw-r--r--units/systemd-sysctl.service.in5
1 files changed, 0 insertions, 5 deletions
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