[phodav] webdavd: remove systemd target, use only service
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phodav] webdavd: remove systemd target, use only service
- Date: Mon, 5 May 2014 13:48:08 +0000 (UTC)
commit d2a11492d9bbfebdea31ec477d62dc747af0510c
Author: Marc-André Lureau <marcandre lureau gmail com>
Date: Mon May 5 15:44:30 2014 +0200
webdavd: remove systemd target, use only service
https://bugzilla.redhat.com/show_bug.cgi?id=1087907
Makefile.am | 2 +-
data/70-spice-webdavd.rules | 2 +-
data/spice-webdavd.service | 3 ---
data/spice-webdavd.target | 2 --
4 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index e9ce4a7..680371d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -142,7 +142,7 @@ if HAVE_SYSTEMD
systemdunitdir = $(SYSTEMDSYSTEMUNITDIR)
dist_systemdunit_DATA = \
$(top_srcdir)/data/spice-webdavd.service \
- $(top_srcdir)/data/spice-webdavd.target
+ $(NULL)
endif
if HAVE_UDEV
diff --git a/data/70-spice-webdavd.rules b/data/70-spice-webdavd.rules
index 0088be3..0fd894d 100644
--- a/data/70-spice-webdavd.rules
+++ b/data/70-spice-webdavd.rules
@@ -1 +1 @@
-ACTION=="add", SUBSYSTEM=="virtio-ports", ENV{DEVLINKS}=="/dev/virtio-ports/org.spice-space.webdav.0",
ENV{SYSTEMD_WANTS}="spice-webdavd.target"
+ACTION=="add", SUBSYSTEM=="virtio-ports", ENV{DEVLINKS}=="/dev/virtio-ports/org.spice-space.webdav.0",
ENV{SYSTEMD_WANTS}="spice-webdavd.service"
diff --git a/data/spice-webdavd.service b/data/spice-webdavd.service
index 328a84d..a7c3104 100644
--- a/data/spice-webdavd.service
+++ b/data/spice-webdavd.service
@@ -8,6 +8,3 @@ Type=simple
EnvironmentFile=-/etc/sysconfig/spice-webdavd
ExecStart=/usr/sbin/spice-webdavd -p 9843 $SPICE_WEBDAVD_EXTRA_ARGS
Restart=on-success
-
-[Install]
-WantedBy=spice-webdavd.target
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]