########## LINUX ##########

operation: 
    install
description: 
    Installs the dataexporter service and starts the service 
options:
[mandatory]
	-license.key								License key of your account
[optional]
	-apm.host										Name of the host or IPV4 address where the server is installed and running.
	-apm.port										Port number of the host where the server is installed and running.
	-apm.protocol.https					Whether the data to the server should be sent through HTTPS protocol.
	-proxy.url									Proxy server url. 
	-behind.proxy								Whether proxy should be enabled. 
	-agent.status.port					Inter Process Communication (status) port.
	-agent.data.port						Inter Process Communication (data) port.
	-service.polling.interval		Polling interval to the server.
	-service.log.dir						Location of the directory to write logs. 
	-service.log.level					Logging level. 
	-service.log.size						Log size limit before rotating log file.
	-insecure.skip.verify				Skip server certificate validation process.
usage: 
	sh service.sh install -lk <licensekey>
			(or)
	sh service.sh install -license.key <licensekey>

operation:
	uninstall
description:
	Stops the dataexporter service and uninstalls the service
usage:
	sh service.sh uninstall

operation: 
    start
description: 
    Starts the dataexporter service
usage: 
    sh service.sh start
 
operation: 
    stop
description: 
    Stops the dataexporter service
usage: 
    sh service.sh stop

operation: 
    restart
description: 
    Stops the dataexporter service and then starts again
usage: 
    sh service.sh restart

operation:
	status
description:
	Prints the status of the dataexporter service on the terminal
usage:
	sh service.sh status

operation:
	health
description:
	Prints the status of the dataexporter service on the terminal at a regular interval
usage:
	sh service.sh health

operation:
	version
description:
	Prints the version of the dataexporter service on the terminal
usage:
	sh service.sh version

operation: 
    run
description: 
    Starts the dataexporter as current user and does not register as a service
usage: 
    sh service.sh run -license.key <licensekey>
				(or)
		sh service.sh run 
 
operation: 
    quit
description: 
    Tries to stop the dataexporter service with current user previleges
usage: 
    sh service.sh quit