chiark / gitweb /
timedated: replace systemd-timedated-ntp.target logic with simpler scheme
[elogind.git] / units / systemd-udev.service.in
index 60d86012178afb7fae6fe183db4cf7651d2388cb..b68969026b650ee2d7daf91af36571afaf3ae242 100644 (file)
@@ -1,7 +1,15 @@
+#  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
-Wants=udev-control.socket udev-kernel.socket
-After=udev-control.socket udev-kernel.socket
+Documentation=man:systemd-udevd.service(8) man:udev(7)
+Wants=systemd-udev-control.socket systemd-udev-kernel.socket
+After=systemd-udev-control.socket systemd-udev-kernel.socket
 Before=basic.target
 DefaultDependencies=no
 ConditionCapability=CAP_MKNOD
@@ -10,5 +18,5 @@ ConditionCapability=CAP_MKNOD
 Type=notify
 OOMScoreAdjust=-1000
 Sockets=systemd-udev-control.socket systemd-udev-kernel.socket
-Restart=on-failure
+Restart=always
 ExecStart=@rootlibexecdir@/systemd-udevd