FS#42930 - [hdparm] Add a systemd service unit to start hdparm at boot
Attached to Project:
Arch Linux
Opened by Leryan (Leryan) - Thursday, 27 November 2014, 17:22 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 March 2021, 12:18 GMT
Opened by Leryan (Leryan) - Thursday, 27 November 2014, 17:22 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 March 2021, 12:18 GMT
|
Details
Hello,
I've just created a systemd service unit to start hdparm at boot: $ cat /etc/systemd/system/hdparm.service [Unit] Description=HDParm settings [Service] Type=oneshot EnvironmentFile=/etc/default/hdparm ExecStart=/usr/bin/hdparm $EXEC_OPTIONS [Install] WantedBy=basic.target $ cat /etc/default/hdparm EXEC_OPTIONS="-B 255 /dev/sda" Is it possible to add something like that in the package? Thanks. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 30 March 2021, 12:18 GMT
Reason for closing: None
Additional comments about closing: Take a look at the last comment
Tuesday, 30 March 2021, 12:18 GMT
Reason for closing: None
Additional comments about closing: Take a look at the last comment
In this case, can the original opener of this bug respond if they are still around. Information further describing the purpose for this service file would be a great start.
/etc/default/hdparm is not a file in the hdparm package, and you list your options for it so that would be another thing.