Skip to content

Instantly share code, notes, and snippets.

@gdamjan
Created June 16, 2013 13:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdamjan/5792152 to your computer and use it in GitHub Desktop.
Save gdamjan/5792152 to your computer and use it in GitHub Desktop.
/etc/systemd/system/hdapsd.service
[Unit]
Description=Thinkpad hdapsd service
BindsTo=dev-sda.device
After=dev-sda.device
BindsTo=dev-input-event9.device
After=dev-input-event9.device
[Service]
Nice=-18
ExecStart=/usr/sbin/hdapsd -a -d sda -s 30
StandardOutput=syslog
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment