hddtemp for 12.1 available in my repo

hddtemp is missing in packman for 12.1. Many programs (such as conky) use it to monitor hard disk temperature. I ported a systemd compatible version from Fedora and put it in my repo.

You’ll start it with:

systemctl start hddtemp.service

and enable it with:

systemctl enable hddtemp.service

I’m using the 32bit version right now to monitor with conky. It works. haven’t tested the 64bit version yet.

**# systemctl status hddtemp.service**
hddtemp.service - Hard drive temperature monitor daemon
          Loaded: loaded (/lib/systemd/system/hddtemp.service; enabled)
          Active: active (running) since Mon, 28 Nov 2011 20:15:00 -0800; 6h ago
        Main PID: 6311 (hddtemp)
          CGroup: name=systemd:/system/hddtemp.service
                   6311 /usr/sbin/hddtemp -dF --listen=127.0.0.1


**# zypper info hddtemp**
Loading repository data...
Reading installed packages...


Information for package hddtemp:

Repository: PTA
Name: hddtemp
Version: 0.3-24.1
Arch: i586
Vendor: obs://build.opensuse.org/home:please_try_again
Installed: Yes
Status: up-to-date
Installed Size: 160.0 KiB
Summary: Hard disk temperature tool
Description: 
hddtemp is a tool that gives you the temperature of your hard drive by
reading S.M.A.R.T. information.

Hi
You should push it to the hardware repository (as in devel repo) and
maintain it, then announce on the factory mailing list to push to
factory for inclusion?

Does it also include the sysv init script so if a user decides to run
it this way it will still function?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 1 day 15:08, 3 users, load average: 0.11, 0.16, 0.14
GPU GeForce 8600 GTS Silent - Driver Version: 290.10

I’m afraid that would be a full time job beyond my skills and beyond my free time. :frowning:

No. That would require more copying/pasting and guessing on my part. Why don’t you join the fun while I’m making coffee?

Done for this part.
When you install it after booting in sysv, the service will be turned on by default as it was in previous versions (chkconfig on).
When you install it after booting in systemd, you’ll have turn it on as shown in post #1.

I just noticed that hddtemp 64bit is in packman, but the 32bit version is missing. The 64bit version from packman doesn’t include the systemd service (to whom it matters).