Changes

From SME Server
Jump to navigationJump to search
115 bytes added ,  11:10, 22 December 2013
Line 236: Line 236:     
  nano /etc/cron.weekly/raid-status
 
  nano /etc/cron.weekly/raid-status
 +
 +
You have to change the variable '''DEST="stephane@your-domaine-name.org"''' to the mail you decide to use.
    
  #!/bin/sh
 
  #!/bin/sh
Line 249: Line 251:  
  [ -x $MDADM ] || exit 0 # package may be removed but not purged
 
  [ -x $MDADM ] || exit 0 # package may be removed but not purged
 
   
 
   
  DEST="stephane@your-domaine-name.org"
+
  '''DEST="stephane@your-domaine-name.org"'''
 
  exec $MDADM --detail /dev/md1 /dev/md2 |mail -s "RAID status SME Server" $DEST
 
  exec $MDADM --detail /dev/md1 /dev/md2 |mail -s "RAID status SME Server" $DEST
  

Navigation menu