Author: biebl Date: Wed Nov 17 18:57:55 2010 New Revision: 3756 URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&a... 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/package... ======================================= --- 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 Wed, 17 Nov 2010 10:23:43 +0100 Modified: packages/experimental/hal/debian/hal.install URL: http://svn.debian.org/wsvn/pkg-utopia/package... ======================================= --- 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/package... ======================================= --- 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/package... ======================================= --- 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 +Wantspid.service + +[Service] +Typeus +BusName=org.freedesktop.Hal +ExecStart=/usr/sbin/hald --daemon=no --use-syslog + +[Install] +# use D-Bus activation +#WantedBy=multi-user.target +Aliasus-org.freedesktop.Hal.service Added: packages/experimental/hal/debian/org.freedesktop.Hal.service URL: http://svn.debian.org/wsvn/pkg-utopia/package... ======================================= --- 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 +SystemdServiceus-org.freedesktop.Hal.service