summaryrefslogtreecommitdiff
blob: d8c9eea5ff8956b36c18243dd5f58a3c0ed4f45b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2023 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# override settings for hd-idle

# hd-idle command line options
# Options are:
#  -a                      Set (partial) device name of disks for subsequent
#                          idle-time parameters (-i). This parameter is optional
#                          in the sense that there's a default entry for all
#                          disks which are not named otherwise by using this
#                          parameter.
#  -i <idle_time>          Idle time in seconds.
#  -l <logfile>            Name of logfile (written only after a disk has spun
#                          up). Please note that this option might cause the
#                          disk which holds the logfile to spin up just because
#                          another disk had some activity. This option should
#                          not be used on systems with more than one disk
#                          except for tuning purposes. On single-disk systems,
#                          this option should not cause any additional spinups.
#
# Options not exactly useful here:
#  -t <disk>               Spin-down the specfified disk immediately and exit.
#  -d                      Debug mode. This will prevent hd-idle from
#                          becoming a daemon and print debugging info to
#                          stdout/stderr
#  -h                      Print usage information.

# To override, uncomment the following line to override ExecStart:
#ExecStart=/usr/sbin/hd-idle -i 180 -l /var/log/hd-idle.log