Licd
From Wiki
1H licensing is implemented via 1H's license daemon.
If this daemon is not running or your license(s) have expired, our software will work just like its standard components:
Hive will not:
- run PHP files depending on their handler
- log execution statistics
- limit user processes
- chroot user processes
Guardian will not work at all.
1Hlicd
1Hlicd is the name of the 1H license daemon.
A process with this name must always be running on each of your servers in order to use our proprietary software.
The binary file is called licd and is located under the /usr/local/1h/sbin/ directory.
By default the daemon is started without extra command line arguments which causes it to use the license files you already have, but it supports two command line arguments:
* -h - tells the daemon we want to fetch the newest license you have purchased for Hive from the 1H license server * -g - tells the daemon we want to fetch the newest license you have purchased for Guardian from the 1H license server
These options can be used if you change some of the hardware on your server, change the IP of the server or in order to renew the license.
There is also an init script for the daemon. It is located in /etc/init.d/licd. It accepts the following options:
- start - starts the daemon
- stop - stops the daemon
- restart - stops the daemon if it is running and starts it
- reload - reloads the license files
- check_run - starts the daemon if it is not running
- get_licenses - tries to get both licenses from 1H license server
- renew - tries to renew all licenses present on the server
- service_ids - gives you the service IDs of both Hive and Guardian licenses
- expire_times - shows you when your licenses will expire
- version - shows the version of the License daemon
Initial setup
You don't have to do anything besides purchasing a license and installing our software.
Both Hive and Guardian installations include 1Hlicd and will install it during their installation process.