With the latest update, the config file found under /etc/conf.d/hdapsd.conf was removed from the package. The systemd way of life is to configure daemons by copy and modify their service file. What was done here (or so I believe) is that they introduce that wrapper script so there is no need to modify the service file. You have to create the /usr/sbin/hdapsd-wrapper to start hdapsd with the arguments you want it to run. Something like (not tested)
#!/bin/bash
which $(hdapsd) -bp -d sda -s 14 -a -l
Imho this is not a good way. It is against the general policy regarding systemd service configuration, and it assumes to place a user created script inside /usr/bin. I recommence to copy and edit the service file instead of using the wrapper method.
Greetz
]]>Here is the output of # systemctl status hdapsd.service :
dapsd.service - HDAPS userspace hard drive protection daemon
Loaded: loaded (/usr/lib/systemd/system/hdapsd.service; enabled)
Active: failed (Result: exit-code) since Wed 2013-04-10 10:27:35 PDT; 2h 5min ago
Process: 678 ExecStart=/usr/sbin/hdapsd-wrapper (code=exited, status=255)
Why is it failing?
]]>