// Restart the assetto server.
Restart the assetto server.
// Restart the assetto server .
func (as *AssettoServerProcess) Restart() error {
	if as.IsRunning() {
		err := as.Stop()
		if err != nil {
			return err
		}
	}
	return as.Start()
}
func ( as * AssettoServerProcess ) Restart ( ) error { if as . IsRunning ( ) { err := as . Stop ( ) if err != nil { return err } } return as . Start ( ) }
Restart the assetto server.
Restart the assetto server .