diff options
-rw-r--r-- | filehooker/root-image/etc/systemd/system/hddtemp.service.d/monitor_all_disks.conf | 3 | ||||
-rwxr-xr-x | filehooker/root-image/krebs/bin/refresh-shares.ship | 2 |
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 |