Examples of using service objects
The services in this section are written with UNIX style path separator characters, except where otherwise stated.
- Use a server service object
This example shows how to define, use, and alter, a server service object to start a trigger monitor. - Use a command service object
This example shows how to define a command service object to start a program that writes entries to the operating system's system log when a queue manager is started or stopped. - Use a command service object when a queue manager ends only
This example shows how to define a command service object to start a program that writes entries to the operating system's system log when a queue manager is stopped only. - More on passing arguments
This example shows how to define a server service object to start a program called runserv when a queue manager is started. - Autostarting a service
This example shows how to define a server service object that can be used to automatically start the Trigger Monitor when the queue manager starts.
Parent topic: Work with services