I created a file in /etc/systemd/ system with the following content:
Then did the following
and rebooted the computer. After 10 minutes it just doesn't happen. The plate doesn't turn off.
Why is the process dead?
Of course I can use hd-idle, but I would like to find out why it doesn't work
Code:
[Unit] Description=Local system resume actions After=suspend.target [Service] Type=simple ExecStart=hdparm -S 120 /dev/disk/by-uuid/312cb74c-ee9e-4a50-adaa-677f2a61c50b [Install] WantedBy=suspend.target
Code:
systemctl enable... systemctl start... systemctl status...
Code:
sudo systemctl status root-resume.service [sudo] password for gorzka: ○ root-resume.service - Local system resume actions Loaded: loaded (/etc/systemd/system/root-resume.service; enabled; preset: enabled) Drop-In: /usr/lib64/systemd/system/service.d └─10-timeout-abort.conf Active: inactive (dead)
Of course I can use hd-idle, but I would like to find out why it doesn't work
Comment