Fusion Server – V2.1 Start Up as Non-root User in CentOS 6.6

December 23, 2015

This assumes you are starting Fusion as a non-root user, and you already know how to run the the start, stop, restart and status commands are really simple *.sh files in the /opt/fusion/bin directory. Here are the steps that worked for me

Create init script

sudo nano /etc/init.d/fusion

Add commands to script

# description: Fusion Startup 
# processname: fusion 
# chkconfig: 234 20 80 
# by max.derungs@providence.org 


# Source the function library for daemon. 

. /etc/init.d/functions 

# daemons 

case "$1" in 
daemon --check fusion $FUSION_CMD start 
daemon --check fusion $FUSION_CMD stop 
daemon --check fusion $FUSION_CMD status 
restart) daemon --check fusion $FUSION_CMD restart 
echo $"Usage: $0 {start|stop|restart|status}" 
exit 0

Set permissions of and make executable

sudo chmod 755 /etc/init.d/fusion

Setup chkconfig utility to start service at boot time

sudo /sbin/chkconfig --add fusion sudo /sbin/chkconfig --level 234 fusion on sudo /sbin/chkconfig --list fusion


sudo service fusion start

Leave a Reply

Your email address will not be published. Required fields are marked *