HOSTONNET.COM CPANEL SERVER TOOLS
Some of the tools created to monitor cpanel servers.
Install
cd /usr
git clone ssh://git@git.buyscripts.in:10022/buyscripts/honcpanel.git
cd /usr/honcpanel
composer install
For git clone to work, you need to add SSH key of the server in gitlab.
Setting PATH
To add /usr/honcpanel/bin to PATH, edit ~./bashrc and add
export PATH="$PATH:/usr/honcpanel/bin"
You need to log out and login for this PATH to work, or run
source ~/.bashrc
cpanel_login_notify.php
Set cronjon
crontab -e
Add
*/5 * * * * /usr/honcpanel/cpanel_login_notify.php