summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-31 09:16:05 +0200
committermakefu <github@syntax-fehler.de>2014-03-31 09:16:05 +0200
commitc117170caeb62a9450d4410dbeead5fb5bb7969d (patch)
treef44a91339a5842ec76117cb3e6ab766e8178e6aa
parent0e9739c5716db1ef34d3c61ea8b03f8d09faa79e (diff)
expand disks correctly
-rw-r--r--filehooker/root-image/etc/systemd/system/hddtemp.service.d/monitor_all_disks.conf3
-rwxr-xr-xfilehooker/root-image/krebs/bin/refresh-shares.ship2
2 files changed, 4 insertions, 1 deletions
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