[Pkg-utopia-commits] r3756 - in /packages/experimental/hal/debian: changelog hal.install hal.links hal.service org.freedesktop.Hal.service

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Nov 17 18:57:56 UTC 2010


Author: biebl
Date: Wed Nov 17 18:57:55 2010
New Revision: 3756

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3756
Log:
  - Add D-Bus system service file debian/org.freedesktop.Hal.service.
  - Add systemd service file debian/hal.service which allows to manage hal
    via systemd.
  - Install both via debian/hal.install, create a symlink for hal.service so
    it is enabled by default when using systemd.

Added:
    packages/experimental/hal/debian/hal.service
    packages/experimental/hal/debian/org.freedesktop.Hal.service
Modified:
    packages/experimental/hal/debian/changelog
    packages/experimental/hal/debian/hal.install
    packages/experimental/hal/debian/hal.links

Modified: packages/experimental/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/experimental/hal/debian/changelog?rev=3756&op=diff
==============================================================================
--- packages/experimental/hal/debian/changelog (original)
+++ packages/experimental/hal/debian/changelog Wed Nov 17 18:57:55 2010
@@ -2,6 +2,11 @@
 
   * Use D-Bus activation to start hal
     - Remove debian/hal.{init,default}.
+    - Add D-Bus system service file debian/org.freedesktop.Hal.service.
+    - Add systemd service file debian/hal.service which allows to manage hal
+      via systemd.
+    - Install both via debian/hal.install, create a symlink for hal.service so
+      it is enabled by default when using systemd.
 
  -- Michael Biebl <biebl at debian.org>  Wed, 17 Nov 2010 10:23:43 +0100
 

Modified: packages/experimental/hal/debian/hal.install
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/experimental/hal/debian/hal.install?rev=3756&op=diff
==============================================================================
--- packages/experimental/hal/debian/hal.install (original)
+++ packages/experimental/hal/debian/hal.install Wed Nov 17 18:57:55 2010
@@ -8,3 +8,7 @@
 # debian/tmp/lib/udev/rules.d/
 debian/preferences.fdi  etc/hal/fdi/policy
 debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi usr/share/hal/fdi/policy/10osvendor
+# D-Bus activation
+debian/org.freedesktop.Hal.service usr/share/dbus-1/system/services/
+# systemd integration
+debian/hal.service lib/systemd/system/

Modified: packages/experimental/hal/debian/hal.links
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/experimental/hal/debian/hal.links?rev=3756&op=diff
==============================================================================
--- packages/experimental/hal/debian/hal.links (original)
+++ packages/experimental/hal/debian/hal.links Wed Nov 17 18:57:55 2010
@@ -1,1 +1,2 @@
-/usr/sbin/umount.hal sbin/umount.hal
+usr/sbin/umount.hal sbin/umount.hal
+lib/systemd/system/hal.service etc/systemd/system/dbus-org.freedesktop.Hal.service

Added: packages/experimental/hal/debian/hal.service
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/experimental/hal/debian/hal.service?rev=3756&op=file
==============================================================================
--- packages/experimental/hal/debian/hal.service (added)
+++ packages/experimental/hal/debian/hal.service Wed Nov 17 18:57:55 2010
@@ -1,0 +1,14 @@
+[Unit]
+Description=Hardware Abstraction Layer
+After=syslog.target acpid.service
+Wants=acpid.service
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.Hal
+ExecStart=/usr/sbin/hald --daemon=no --use-syslog
+
+[Install]
+# use D-Bus activation
+#WantedBy=multi-user.target
+Alias=dbus-org.freedesktop.Hal.service

Added: packages/experimental/hal/debian/org.freedesktop.Hal.service
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/experimental/hal/debian/org.freedesktop.Hal.service?rev=3756&op=file
==============================================================================
--- packages/experimental/hal/debian/org.freedesktop.Hal.service (added)
+++ packages/experimental/hal/debian/org.freedesktop.Hal.service Wed Nov 17 18:57:55 2010
@@ -1,0 +1,5 @@
+[D-BUS Service]
+Name=org.freedesktop.Hal
+Exec=/usr/sbin/hald
+User=root
+SystemdService=dbus-org.freedesktop.Hal.service




More information about the Pkg-utopia-commits mailing list