Skip to content

Commit

Permalink
restart service after suspend
Browse files Browse the repository at this point in the history
  • Loading branch information
adelolmo committed Jul 2, 2022
1 parent 1649a0e commit 404c51f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/hd-idle.service
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[Unit]
Description=hd-idle - spin down idle hard disks
Documentation=man:hd-idle(8)
After=suspend.target

[Service]
Type=simple
EnvironmentFile=/etc/default/hd-idle
ExecStart=/usr/sbin/hd-idle $HD_IDLE_OPTS
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit 404c51f

Please sign in to comment.