webMethods Product Suite  | Complete Installation and Upgrade Information for Software AG Products | Installing Software AG Products | Registering Daemons to Automatically Start and Shut Down Products on UNIX Systems | Run the daemon.sh Command Line Tool
 
Run the daemon.sh Command Line Tool
The daemon.sh command line tool is located in the Software AG_directory/common/bin directory. Log on to your system as the root user and call it from any current working directory.
The rc-script names and locations are listed in Product Daemons and rc-scripts.
Important: The listed rc-scripts might offer options to install or uninstall, but these are daemon registration methods implemented by Tanuki Software, Ltd. and are not supported by Software AG. Use only the start or stop options with the rc-scripts, and use only daemon.sh to register or un-register daemons.
The table below lists the most commonly used command line options for the daemon.sh command line tool; they are the same for every supported UNIX platform.
Action
Command with Option
Register daemon with default init-script name
daemon.sh -f absolute_path_to_rc-script
Register daemon and specify instance name
daemon.sh -f absolute_path_to_rc-script -n instance
List all registered daemons that have prefix sag
daemon.sh -L
Unregister daemon
daemon.sh -r -f absolute_path_to_rc-script
Remove daemon registrations for which rc-script no longer exists (clean up)
daemon.sh -C
Print information about implementation and other command line options
daemon.sh -h
Note: The execution of daemon.sh uses specific run-levels and methods for registering UNIX daemons that have been tested by Software AG. Some systems may offer valid alternative ways for the daemon registration that are not documented here.

Copyright © 2007-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.