summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-06-25 10:30:55 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-06-25 10:30:55 +0200
commit08b4c88353b48302ae94088b55b2066ad01c63f8 (patch)
tree3bb20164d2568335b697518e1fafc09caa6d4f0b /init
parent43fefbf6f1c528947a77643582bcc34cf3538b2d (diff)
make: pre-process and install systemd service files when needed
Diffstat (limited to 'init')
-rw-r--r--init/.gitignore1
-rw-r--r--init/udev-retry.service.in (renamed from init/udev-retry.service)2
-rw-r--r--init/udev-settle.service.in (renamed from init/udev-settle.service)2
-rw-r--r--init/udev.service.in (renamed from init/udev.service)6
4 files changed, 6 insertions, 5 deletions
diff --git a/init/.gitignore b/init/.gitignore
new file mode 100644
index 0000000000..904e445e72
--- /dev/null
+++ b/init/.gitignore
@@ -0,0 +1 @@
+udev*.service
diff --git a/init/udev-retry.service b/init/udev-retry.service.in
index 07928751a5..b7d5320777 100644
--- a/init/udev-retry.service
+++ b/init/udev-retry.service.in
@@ -5,7 +5,7 @@ After=local-fs.target
[Service]
Type=finish
ValidNoProcess=yes
-ExecStart=/sbin/udevadm trigger --type=failed
+ExecStart=@sbindir@/udevadm trigger --type=failed
[Install]
WantedBy=sysinit.target
diff --git a/init/udev-settle.service b/init/udev-settle.service.in
index 3c73a96d9f..d13beae6c2 100644
--- a/init/udev-settle.service
+++ b/init/udev-settle.service.in
@@ -5,7 +5,7 @@ After=udev.service
[Service]
Type=finish
ValidNoProcess=yes
-ExecStart=/sbin/udevadm settle
+ExecStart=@sbindir@/udevadm settle
[Install]
WantedBy=sysinit.target
diff --git a/init/udev.service b/init/udev.service.in
index f6824a2002..a54626df50 100644
--- a/init/udev.service
+++ b/init/udev.service.in
@@ -4,9 +4,9 @@ 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
+ExecStart=@sbindir@/udevd
+ExecStartPost=@sbindir@/udevadm trigger --type=subsystems --action=add
+ExecStartPost=@sbindir@/udevadm trigger --type=devices --action=add
[Install]
WantedBy=sysinit.target