As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
#!/bin/bash # # Startup script for the … # # Source function library. . /etc/init.d/functions PATH=/usr/local/bin:/sbin:/usr/sbin:$PATH export PATH # See how we were called. case "$1" in start) echo -n "Starting Alfresco: " su - alfresco -c '/opt/Alfresco3/alf_start.sh > /dev/null 2>&1 &' ;; stop) ;; restart) $0 stop $0 start ;; reload) ;; *) echo "Usage: $0 {start|stop|restart|reload|status}" exit 1 esac exit 0
#!/bin/bash # # Startup script for Alfresco # # Source function library. . /etc/init.d/functions PATH=/usr/local/bin:/sbin:/usr/sbin:$PATH export PATH # See how we were called. case "$1" in start) echo -n "Starting Alfresco: " su - alfresco -c '/opt/Alfresco/alf_start.sh > /dev/null 2>&1 &' ;; stop) echo -n "Stopping Alfresco…. " su - alfresco -c '/opt/Alfresco/alf_stop.sh' ;; restart) $0 stop $0 start ;; reload) ;; *) echo "Usage: $0 {start|stop|restart|reload|status}" exit 1 esac exit 0
chmod +x /etc/rc.d/init.d/alfresco ln -s /etc/rc.d/init.d/alfresco /etc/rc.d/rc5.d/S98alfresco ln -s /etc/rc.d/init.d/alfresco /etc/rc.d/rc3.d/S98alfresco ln -s /etc/rc.d/init.d/alfresco /etc/rc.d/rc0.d/K02alfresco ln -s /etc/rc.d/init.d/alfresco /etc/rc.d/rc6.d/K02alfresco ln -s /etc/rc.d/init.d/alfresco /etc/rc.d/rc1.d/K02alfresco
su - alfresco -c '/opt/Alfresco/alf_stop.sh'
sudo -H -u alfresco sh $CATALINA_HOME/bin/shutdown.sh killall -w -u alfresco
… case "$1" in start) touch /var/lock/subsys/alfresco echo -n "Starting Alfresco: " …