aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-04-10 19:15:42 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-04-27 20:37:44 +0000
commit8885505217f4180eb82ffc3ac8b0b9a24f5036b5 (patch)
tree2d0cb297d306385d50e8637a8d8c246dad2d4cb4
parent8ebbc54edb781b1a3aa9de19bbb08e318c0c8c43 (diff)
udisks: services: change default.target to multi-user.target
To allow running as system service changes Wants= field to multi-user.target Change-Id: I321e8ff88f273f3f36cd2b62a00037f3ece83d9d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--recipes-support/udisks/files/automount.service4
-rw-r--r--recipes-support/udisks/files/udisks.service2
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes-support/udisks/files/automount.service b/recipes-support/udisks/files/automount.service
index 479452f72..64c36e76b 100644
--- a/recipes-support/udisks/files/automount.service
+++ b/recipes-support/udisks/files/automount.service
@@ -1,9 +1,9 @@
[Unit]
Description=Automount Disk Manager
-After=udisk.service
+After=udisks.service
[Service]
ExecStart=/usr/libexec/automount.sh
[Install]
-WantedBy=default.target
+WantedBy=multi-user.target
diff --git a/recipes-support/udisks/files/udisks.service b/recipes-support/udisks/files/udisks.service
index 75df55b3e..4bd558449 100644
--- a/recipes-support/udisks/files/udisks.service
+++ b/recipes-support/udisks/files/udisks.service
@@ -8,4 +8,4 @@ BusName=org.freedesktop.UDisks
ExecStart=/usr/libexec/udisks-daemon --no-debug
[Install]
-WantedBy=default.target
+WantedBy=multi-user.target