Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.
This can be done post-installation and is quite easy using systemd. Following is an example service file, i.e. yellowfin.service:
Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.
Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.
This can be done post-installation and is quite easy using systemd. Following is an example service file, i.e. yellowfin.service:
Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.
This can be done post-installation and is quite easy using systemd. Following is an example service file, i.e. yellowfin.service:
Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.This can be done post-installation and is quite easy using systemd. Following is an example service file, i.e. yellowfin.service:
Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.This can be done post-installation and is quite easy using systemd. Following is an example service file, i.e. yellowfin.service:
Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.This can be done post-installation and is quite easy using systemd. Following is an example service file, i.e. yellowfin.service:
Note you will want to adapt this to reflect your environment as needed. This yellowfin.service file can be added to /etc/systemd/system/ to allow it to be called as a service.For System V create /etc/init.d/yellowfin:
#!/bin/bash # # chkconfig: 2345 99 5 # # Get function from functions library . /etc/init.d/functions # Start the service Yellowfin start() { initlog -c "echo -n Starting Yellowfin service:" /opt/Yellowfin/appserver/bin/startup.sh & ### Create the lock file ### touch /var/lock/subsys/Yellowfin success $"Yellowfin server startup" echo } # Restart the service Yellowfin stop() { initlog -c "echo -n Stopping Yellowfin server: " killproc Yellowfin ### Now, delete the lock file ### rm -f /var/lock/subsys/Yellowfin /opt/Yellowfin/appserver/bin/shutdown.sh echo } ### main logic ### case "$1" in start) start ;; stop) stop ;; status) status Yellowfin ;; restart|reload|condrestart) stop start ;; *) echo #"Usage: $0 {start|stop|restart|reload|status}" exit 1 esac exit 0Next you'll want to symlink this to enable start on boot:
and finally add it to chkconfig: Keep in mind these commands all require root privileges.You can now issue service calls to Yellowfin:
service yellowfin {start|stop|restart}For System V create /etc/init.d/yellowfin:
#!/bin/bash # # chkconfig: 2345 99 5 # # Get function from functions library . /etc/init.d/functions # Start the service Yellowfin start() { initlog -c "echo -n Starting Yellowfin service:" /opt/Yellowfin/appserver/bin/startup.sh & ### Create the lock file ### touch /var/lock/subsys/Yellowfin success $"Yellowfin server startup" echo } # Restart the service Yellowfin stop() { initlog -c "echo -n Stopping Yellowfin server: " killproc Yellowfin ### Now, delete the lock file ### rm -f /var/lock/subsys/Yellowfin /opt/Yellowfin/appserver/bin/shutdown.sh echo } ### main logic ### case "$1" in start) start ;; stop) stop ;; status) status Yellowfin ;; restart|reload|condrestart) stop start ;; *) echo #"Usage: $0 {start|stop|restart|reload|status}" exit 1 esac exit 0Next you'll want to symlink this to enable start on boot:
and finally add it to chkconfig: Keep in mind these commands all require root privileges.You can now issue service calls to Yellowfin:
service yellowfin {start|stop|restart}Replies have been locked on this page!