Setting up mediasmartserverd for Centos 7 on EX490

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

The 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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Advertisements
%d bloggers like this: