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 | Overview
 
Overview
You can register daemons for Software AG products on UNIX systems to make those products start and stop automatically at system start and shutdown time. For many products, you can register daemons at installation time, as described earlier in this guide. After installation, you can use the command line tool daemon.sh to register daemons for more Software AG products. You can also use the tool to unregister daemons for Software AG product.
The daemon.sh script generates an init-script for each daemon. The naming convention for the init-script is sag[number]instance , where sag is a fixed prefix string, and instance is a unique identifier for the daemon instance. If you accidentally specify a non-unique instance during daemon registration, the daemon.sh script automatically adds number to make the init-script name unique.
The table below shows the locations of init-scripts generated by the daemon.sh script.
System
Location
SLES 11, Solaris
/etc/init.d
SLES 12, RHEL 7
/usr/lib/systemd/system
HP-UX
/sbin/init.d
Mac OSX
/Library/LaunchDaemons
AIX
/etc
Each product daemon has an rc-script that has these features:
*It is owned and called by the installation user (that is, the non-root UNIX user that performed the installation).
*It accepts the arguments 'start' and 'stop' to start and stop the corresponding product.
At system start and shutdown time, the init-script changes the current user ID from the root user to the user that owns the rc-script and then calls the rc-script with the start or stop option, as appropriate. The rc-script names and locations are listed in Product Daemons and rc-scripts.
Note: Products not listed in this appendix have no daemons to register or have their own method for registering daemons that is covered in product documentation.

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.