[arch-commits] Commit in hddtemp/trunk (PKGBUILD hddtemp.service)

Gaetan Bisson bisson at archlinux.org
Sun Jun 3 10:39:06 UTC 2012


    Date: Sunday, June 3, 2012 @ 06:39:06
  Author: bisson
Revision: 160662

add systemd service file

Added:
  hddtemp/trunk/hddtemp.service
Modified:
  hddtemp/trunk/PKGBUILD

-----------------+
 PKGBUILD        |    6 ++++--
 hddtemp.service |    9 +++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-03 10:10:12 UTC (rev 160661)
+++ PKGBUILD	2012-06-03 10:39:06 UTC (rev 160662)
@@ -8,7 +8,7 @@
 pkgver=0.3.beta15.46
 _origver=0.3-beta15
 _patchver=46
-pkgrel=2
+pkgrel=3
 pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
 arch=('i686' 'x86_64')
 url="http://www.guzu.net/linux/hddtemp.php"
@@ -17,10 +17,11 @@
 backup=('etc/conf.d/hddtemp')
 source=(http://www.guzu.net/files/hddtemp-${_origver}.tar.bz2
         http://ftp.debian.org/debian/pool/main/h/hddtemp/hddtemp_${_origver}-${_patchver}.diff.gz
-        'hddtemp' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch')
+        'hddtemp' 'hddtemp.service' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch')
 md5sums=('8b829339e1ae9df701684ec239021bb8'
          '040437845e28771c560b4bb40e41f933'
          'b7ebb86dfeef3bc4577ed1040307e36b'
+         'b6767bdbb03b6cdbc1995418cafdb1e1'
          'fdca5c43900406f0be76534ef2a5a697'
          '526ef28549dd0da7e38d32cfc8523592')
 options=('!libtool')
@@ -42,5 +43,6 @@
   install -D -m644 "$srcdir/$pkgname-${_origver}/debian/hddtemp.db" \
     "$pkgdir/usr/share/${pkgname}/hddtemp.db"
   install -D -m644 "$srcdir/hddtemp.confd" "$pkgdir/etc/conf.d/hddtemp"
+  install -D -m644 "$srcdir/hddtemp.service" "$pkgdir/usr/lib/systemd/system/hddtemp.service"
   install -D -m755 "$srcdir/hddtemp" "$pkgdir/etc/rc.d/hddtemp"
 }

Added: hddtemp.service
===================================================================
--- hddtemp.service	                        (rev 0)
+++ hddtemp.service	2012-06-03 10:39:06 UTC (rev 160662)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Hard drive temperature monitor daemon
+
+[Service]
+EnvironmentFile=/etc/conf.d/hddtemp 
+ExecStart=/usr/sbin/hddtemp -dF $PARAMS $DRIVES
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list