operating_system_distro: archlinux
OS: ArchLinux
ARCH: i386, x86_64

INSTALLATION

1. Put the monitis init script into /etc/init.d directory
# cp ./monitis /etc/rc.d/

2. Make it executable
# chmod +x /etc/rc.d/monitis

3. Configure it on runlevels (both on running and stopped VM)
# grep 'DAEMONS=(' /etc/rc.conf 2>/dev/null|grep -v monitis >/dev/null 2>&1 && sed -i '/DAEMONS=/s/)/ monitis)/g' /etc/rc.conf

4. Start it if required (on running VM only)
# /etc/rc.d/monitis start


UNINSTALLATION

1. Unconfigure the service on runlevels
# sed -i '/DAEMONS=/s/ monitis//g' /etc/rc.conf

2. Remove the service
# rm -f /etc/rc.d/monitis
