chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9feeba4
)
units: run sysctl only if /etc/sysctl.conf exists
author
Lennart Poettering
<lennart@poettering.net>
Thu, 28 Oct 2010 20:12:05 +0000
(22:12 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 28 Oct 2010 20:12:05 +0000
(22:12 +0200)
units/sysctl.service
patch
|
blob
|
history
diff --git
a/units/sysctl.service
b/units/sysctl.service
index afde58055bd0288bd4a6747f90d9d3b001a55539..ba5626a3a86fb59d425cefe7a6469ec33c84252e 100644
(file)
--- a/
units/sysctl.service
+++ b/
units/sysctl.service
@@
-11,6
+11,7
@@
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=basic.target shutdown.target
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=basic.target shutdown.target
+ConditionPathExists=/etc/sysctl.conf
[Service]
Type=oneshot
[Service]
Type=oneshot