3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/modules/services
Peter Simons 415ff3c39a smartd: change 'devices' option from "list of strings" to "list of attribute sets"
The smartd used to expect a list of devices to monitor. After this patch, it
expects a list of attribute sets, which may have two attributes:

 - device: path to the device (required)
 - options: smartd options to apply to this particular device (optional)

A concrete example configuration would be:

  services.smartd = {
    enable = true;
    devices = [ { device = "/dev/sda"; } { device = "/dev/sdb"; options = "-d sat"; } ];
  };

Furthermore, the config option 'deviceOpts' can be used to configure options
that are applied to *every* device.
2013-03-10 01:19:44 +01:00
..
amqp Add ActiveMQ service 2013-02-25 16:50:10 +01:00
audio mpd: Start service with exec 2013-02-28 19:26:19 +01:00
backup * Drop references to activation scriptlets that no longer exist. 2012-03-15 14:21:17 +00:00
databases mongodb: Add initialisation service 2013-02-25 09:04:31 +01:00
games strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
hardware Silence a harmless warning on kernels without the 'path' parameter for firmware_class. 2013-03-05 20:33:41 -05:00
logging Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
mail spamassassin: convert module to systemd 2013-01-24 18:37:25 +01:00
misc nix-daemon: Restart when nix.conf changes 2013-02-26 03:15:29 +01:00
monitoring smartd: change 'devices' option from "list of strings" to "list of attribute sets" 2013-03-10 01:19:44 +01:00
network-filesystems Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
networking default-websockify: Stop when reconfigured (i.e. new ports added/removed) 2013-02-18 11:55:46 -05:00
printing Add/fix systemd unit descriptions 2013-01-10 13:59:41 +01:00
scheduling Add/fix systemd unit descriptions 2013-01-10 13:59:41 +01:00
security Tor-privoxy: quick and dirty fix for activation under systemd 2013-02-10 20:29:17 +02:00
system Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
torrent Add Transmission BitTorrent service 2013-03-08 16:47:09 +01:00
ttys Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
web-servers Add lighttpd web server module 2013-03-03 20:16:44 +01:00
x11 xfce: update the xinitrc path 2013-03-09 10:55:57 +01:00