This script is only available on win32. It is the base script used to setup the agent as a service during win32 installation. You don't normally need to run it by itself.
This script is also handy to setup manually a win32 service based on a development environment.
glpi-win32-service - GLPI perl Agent service for Windows
glpi-win32-service [--register|--delete|--help] [options]
Options are only needed to register or delete the service. They are handy
while using GLPI perl agent from sources.
-n --name=NAME unique system name for the service
-d --displayname="Nice Name" display name of the service
-l --libdir=PATH full path to agent perl libraries use it if
not found by the script
-p --program="path to program" perl script to start as service
-n --name=NAME unique system name of the service to delete
Samples to use from sources base:
perl bin/glpi-win32-service --help
perl bin/glpi-win32-service --register
perl bin/glpi-win32-service --delete
perl bin/glpi-win32-service --register -n glpi-agent-test -d "[TEST] GLPI Agent Service"
perl bin/glpi-win32-service --delete -n glpi-agent-test