chiark / gitweb /
units: automatically respawn the core services
[elogind.git] / units / systemd-udev.service.in
index 8a1793339b765f856a127edf71064c7277e9f288..b68969026b650ee2d7daf91af36571afaf3ae242 100644 (file)
@@ -1,5 +1,13 @@
+#  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-udev-control.socket systemd-udev-kernel.socket
 After=systemd-udev-control.socket systemd-udev-kernel.socket
 Before=basic.target
@@ -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