/[smecontribs]/rpms/smeserver-migratehelper/contribs10/migratehelper.sh
ViewVC logotype

Diff of /rpms/smeserver-migratehelper/contribs10/migratehelper.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.6 by jcrisp, Sat Nov 13 14:52:01 2021 UTC Revision 1.7 by jcrisp, Sun Nov 14 12:47:20 2021 UTC
# Line 517  echo "cd /root/migratehelper/yumDownload Line 517  echo "cd /root/migratehelper/yumDownload
517    
518  if [ $TEST = "n" ]; then  if [ $TEST = "n" ]; then
519    echo "Stopping Services and running backup"    echo "Stopping Services and running backup"
520    echo "Test $TEST"  
521    exit 1    # uncomment to test Test and prevent backup running
522      # echo "Test mode $TEST"
523      # exit 1
524    
525    #### stop services so no changes occurs    #### stop services so no changes occurs
526    if [ -e /usr/lib/systemd/system/qmail.service ]; then    if [ -e /usr/lib/systemd/system/qmail.service ]; then
# Line 546  if [ $TEST = "n" ]; then Line 548  if [ $TEST = "n" ]; then
548    
549  else  else
550    echo "Test mode enabled - no backup run"    echo "Test mode enabled - no backup run"
551    echo "Test $TEST"    echo "Test mode $TEST"
552    exit 0    exit 0
553  fi  fi
554    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed