This post details setting up mediasmartserverd under Centos 7 on an HP EX490. This allows for the status LED to be used as an indicator for updates and also the drive lights to be illuminated according to disk state/activity. The mediasmartserverd binary is built on the local machine:
yum -y install wget zip libudev-devel
yum -y groupinstall "Development Tools"
wget https://github.com/merelin/mediasmartserverd/archive/0.5.6.tar.gz
tar -zxvf 0.5.6.tar.gz
cd mediasmartserverd-0.5.6
make
cp mediasmartserverd /usr/local/sbin/
vi /usr/lib/systemd/system/mediasmartserverd.service
Then enter the following into the file and exit with [Esc]:wq
:
[Unit]
Description=MediaSmartServer
[Service]
ExecStart=/usr/local/sbin/mediasmartserverd --activity --update-monitor Restart=always [Install]
WantedBy=multi-user.target
Then enable and start the service: systemctl enable mediasmartserverd.service systemctl start mediasmartserverd.service