"Fossies" - the Fresh Open Source Software Archive

Member "Plone-5.2.5-UnifiedInstaller-1.0/init_scripts/OS_X/Plone-Standalone/Plone" (13 Sep 2021, 438 Bytes) of package /linux/www/Plone-5.2.5-UnifiedInstaller-1.0.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 ##
    4 # Plone Server -- Standalone Configuration
    5 ##
    6 
    7 . /etc/rc.common
    8 
    9 StartService ()
   10 {
   11         echo "Starting Plone"
   12     /Applications/Plone/zinstance/bin/plonectl start
   13 }
   14 
   15 StopService ()
   16 {
   17     echo "Stopping Plone"
   18     /Applications/Plone/zinstance/bin/plonectl stop
   19 }
   20 
   21 RestartService ()
   22 {
   23     echo "Restarting Plone"
   24     /Applications/Plone/zinstance/bin/plonectl stop
   25     /Applications/Plone/zinstance/bin/plonectl start
   26 }
   27 
   28 RunService "$1"