...
- Edit the ./bin/jobscheduler_agent_4445.sh.
- First you find a LSB Header which describes the run levels etc. when you use the instance script as init script in /etc/init.d.
The "Provides" entry in the LSB Header has to be unique. Add the port at the value of the "Provides" entry.
Note This step is required if the instance script is used as a service init script in /ect/init.d!
Panel borderColor lightgray ### BEGIN INIT INFO
# Provides: JobSchedulerAgent4445
# Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start JobScheduler Agent
### END INIT INFO
- Further you all find the environment variables of the JobScheduler Universal Agent.
- Use the environment variable
SCHEDULER_USER
to operate the Agent for a user account that is different from the one that starts the Agent.- Use the environment variable
SCHEDULER_HTTP_PORT
or the option-http-port=####
to start the Agent for a port that is different from the default setting. - Make sure that the directories
SCHEDULER_LOG_DIR
andSCHEDULER_PID_FILE_DIR
are readable and writable for the different user accounts
- Use the environment variable