diff options
author | root <root@rshg054.dnsready.net> | 2012-06-05 00:01:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-05 00:01:46 +0000 |
commit | 67db4cf68dbdb364c4dee1599294d7701f3c3b0a (patch) | |
tree | ab6491b591fe7f704b48188ecffe80771edf822e /extra/hddtemp | |
parent | 1e6588d64f084decf287a58b7ff93ff0ce4d0446 (diff) |
Tue Jun 5 00:01:46 UTC 2012
Diffstat (limited to 'extra/hddtemp')
-rw-r--r-- | extra/hddtemp/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/hddtemp/hddtemp.service | 9 |
2 files changed, 14 insertions, 3 deletions
diff --git a/extra/hddtemp/PKGBUILD b/extra/hddtemp/PKGBUILD index e98e28e64..cf00e6549 100644 --- a/extra/hddtemp/PKGBUILD +++ b/extra/hddtemp/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 150841 2012-02-23 12:31:37Z ibiru $ +# $Id: PKGBUILD 160663 2012-06-03 10:40:04Z bisson $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Roman Kyrylych <roman@archlinux.org> @@ -8,7 +8,7 @@ pkgname=hddtemp 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 @@ depends=('glibc') 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 @@ package() { 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" } diff --git a/extra/hddtemp/hddtemp.service b/extra/hddtemp/hddtemp.service new file mode 100644 index 000000000..bc56d16b0 --- /dev/null +++ b/extra/hddtemp/hddtemp.service @@ -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 |