func (u *Unit) Stop() (err error) {
	log.WithField("u", u).Debugf("u.Stop")

	tr := newTransaction()
	if err = tr.add(stop, u, nil, true, true); err != nil {
		return
	}
	return tr.Run()
}
// Stop creates a new stop transaction and runs it
Stop creates a new stop transaction and runs it
// Stop creates a new stop transaction and runs it
func (u *Unit) Stop() (err error) {
	log.WithField("u", u).Debugf("u.Stop")
	tr := newTransaction()
	if err = tr.add(stop, u, nil, true, true); err != nil {
		return
	}
	return tr.Run()
}
func ( u * Unit ) Stop ( ) ( err error ) { log . WithField ( " " , u ) . Debugf ( " " ) tr := newTransaction ( ) if err = tr . add ( stop , u , nil , true , true ) ; err != nil { return } return tr . Run ( ) }
Stop creates a new stop transaction and runs it
Stop creates a new stop transaction and runs it