From c117170caeb62a9450d4410dbeead5fb5bb7969d Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 31 Mar 2014 09:16:05 +0200 Subject: expand disks correctly --- .../etc/systemd/system/hddtemp.service.d/monitor_all_disks.conf | 3 +++ filehooker/root-image/krebs/bin/refresh-shares.ship | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 filehooker/root-image/etc/systemd/system/hddtemp.service.d/monitor_all_disks.conf diff --git a/filehooker/root-image/etc/systemd/system/hddtemp.service.d/monitor_all_disks.conf b/filehooker/root-image/etc/systemd/system/hddtemp.service.d/monitor_all_disks.conf new file mode 100644 index 00000000..e6b8fcda --- /dev/null +++ b/filehooker/root-image/etc/systemd/system/hddtemp.service.d/monitor_all_disks.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=/bin/bash -c "/usr/bin/hddtemp -dF hddtemp -d /dev/[vsh]d[a-z]" diff --git a/filehooker/root-image/krebs/bin/refresh-shares.ship b/filehooker/root-image/krebs/bin/refresh-shares.ship index 99c0b748..364d7758 100755 --- a/filehooker/root-image/krebs/bin/refresh-shares.ship +++ b/filehooker/root-image/krebs/bin/refresh-shares.ship @@ -7,5 +7,5 @@ set -euf ncdc_user="hooker" share_all_partitions - +systemctl restart hddtemp.service exit 0 -- cgit v1.2.3