Magellan Linux

Diff of /branches/magellan-next/include/mtools.minc

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

revision 21 by niro, Thu Jun 2 22:39:08 2011 UTC revision 22 by niro, Thu Jun 2 22:46:24 2011 UTC
# Line 144  mstartunit() Line 144  mstartunit()
144   then   then
145   echo -e " ${COLBLUE}[${COLGREEN}+${COLBLUE}]${COLDEFAULT} starting unit ${service} ..."   echo -e " ${COLBLUE}[${COLGREEN}+${COLBLUE}]${COLDEFAULT} starting unit ${service} ..."
146   # start or restart the service   # start or restart the service
147   systemctl try-restart ${service}   # dont use try-restart, works only with active services!
148     systemctl restart ${service}
149   fi   fi
150  }  }
151    

Legend:
Removed from v.21  
changed lines
  Added in v.22