diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-06-25 01:31:57 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-06-25 01:31:57 +0200 |
commit | 43fefbf6f1c528947a77643582bcc34cf3538b2d (patch) | |
tree | 73a86f3363458a6a13f171f49ecd95cc550d43a3 /init | |
parent | cbcb846a4c9c9b8215a3f484d70e3cefde5ba226 (diff) |
add systemd service files
Diffstat (limited to 'init')
-rw-r--r-- | init/udev-retry.service | 13 | ||||
-rw-r--r-- | init/udev-settle.service | 13 | ||||
-rw-r--r-- | init/udev.service | 15 |
3 files changed, 41 insertions, 0 deletions
diff --git a/init/udev-retry.service b/init/udev-retry.service new file mode 100644 index 0000000000..07928751a5 --- /dev/null +++ b/init/udev-retry.service @@ -0,0 +1,13 @@ +[Unit] +Description=re-trigger failed events after filesystems are available +After=local-fs.target + +[Service] +Type=finish +ValidNoProcess=yes +ExecStart=/sbin/udevadm trigger --type=failed + +[Install] +WantedBy=sysinit.target +Also=udev.service +Also=udev-settle.service diff --git a/init/udev-settle.service b/init/udev-settle.service new file mode 100644 index 0000000000..3c73a96d9f --- /dev/null +++ b/init/udev-settle.service @@ -0,0 +1,13 @@ +[Unit] +Description=wait until full initialization +After=udev.service + +[Service] +Type=finish +ValidNoProcess=yes +ExecStart=/sbin/udevadm settle + +[Install] +WantedBy=sysinit.target +Also=udev.service +Also=udev-retry.service diff --git a/init/udev.service b/init/udev.service new file mode 100644 index 0000000000..f6824a2002 --- /dev/null +++ b/init/udev.service @@ -0,0 +1,15 @@ +[Unit] +Description=/dev and kernel device manager +Before=sysinit.target + +[Service] +Type=notify +ExecStart=/sbin/udevd +ExecStartPost=/sbin/udevadm trigger --type=subsystems --action=add +ExecStartPost=/sbin/udevadm trigger --type=devices --action=add + +[Install] +WantedBy=sysinit.target +Also=udev-settle.service +Also=udev-retry.service + |