summaryrefslogtreecommitdiff
path: root/units/systemd-udevd.service.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-07-02 21:35:14 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-02 23:21:51 +0200
commit51dfddc2cceb345ffc994014e4a4b3f2d2d3a3aa (patch)
treeab5dc8bd4968093c529b3f7ef84a7ae01ff6eaf5 /units/systemd-udevd.service.in
parentef8a2bf6484bb0f82248ceb10a55509a93d82c6b (diff)
units: Rename systemd-udev.service to systemd-udevd.service
This naming convention is more inline with other systemd daemon unit names (systemd-logind.service, systemd-localed.service etc) The companion .socket units have also been renamed, however the -trigger and -settle units keep their current name as these are not directly related to daemon process itself.
Diffstat (limited to 'units/systemd-udevd.service.in')
-rw-r--r--units/systemd-udevd.service.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
new file mode 100644
index 000000000..3bf33e526
--- /dev/null
+++ b/units/systemd-udevd.service.in
@@ -0,0 +1,22 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=udev Kernel Device Manager
+Documentation=man:systemd-udevd.service(8) man:udev(7)
+Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
+After=systemd-udevd-control.socket systemd-udevd-kernel.socket
+Before=basic.target
+DefaultDependencies=no
+ConditionCapability=CAP_MKNOD
+
+[Service]
+Type=notify
+OOMScoreAdjust=-1000
+Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
+Restart=always
+ExecStart=@rootlibexecdir@/systemd-udevd