Created
October 10, 2013 20:59
-
-
Save thewellington/6925593 to your computer and use it in GitHub Desktop.
init scripts to start/stop Weblogic and Node Manager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# wlsndm startup script for node manager | |
# | |
# chkconfig: - 75 15 | |
# description: weblogic | |
# processname: WLSADMIN | |
# Source function library | |
. /etc/rc.d/init.d/functions | |
start() { | |
echo -n $"Starting $prog: " | |
nohup su - cats -c /data/weblogic/Oracle/Middleware/user_projects/domains/catsdomain/bin/startWebLogic.sh > /data/weblogic/Oracle/Middleware/user_projects/domains/catsdomain/servers/weblogic/logs/wlsa.log & | |
echo OK | |
} | |
case "$1" in | |
start) | |
start | |
;; | |
*) | |
echo $"Usage: $prog {start}" | |
exit 1 | |
esac | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# wlsndm startup script for node manager | |
# | |
# chkconfig: - 74 15 | |
# description: weblogic | |
# processname: WLSNDM | |
# Source function library | |
. /etc/rc.d/init.d/functions | |
start() { | |
echo -n $"Starting $prog: " | |
nohup su - cats -c /data/weblogic/Oracle/Middleware/wlserver_10.3/server/bin/startNodeManager.sh > /data/weblogic/Oracle/Middleware/wlserver_10.3/server/bin/wlsnd.log & | |
echo OK | |
} | |
case "$1" in | |
start) | |
start | |
;; | |
*) | |
echo $"Usage: $prog {start}" | |
exit 1 | |
esac | |
exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment