Commit Graph

5 Commits (0bbb05ddd26cf18b6bbfff73d147c00570c46969)

Author SHA1 Message Date
Rhett Aultman 35c3af1e2c Make mycroft-core.sh invocable from outside
mycroft-core.sh has a relative-path call (that itself also likes to
be called from inside mycroft-core) that prevents making a clean start
of mycroft from outside the mycroft-core directory.  This makes doing
things like adding it as a Ubuntu Unity startup application slightly
messy.
2017-10-26 19:06:11 -04:00
Steve Penrod f0086d8881 Remove "restart", auto-restart running services
Remove the "restart" option, instead all of the background services
now automatically check to see if they are already running and will
be stopped then restarted if so.

Also fixed a few Codacy complaints.
2017-09-28 01:08:20 -05:00
Steve Penrod 26559388ea Enhance help message, remove extra whitespace 2017-09-28 01:08:20 -05:00
Steve Penrod 4afa64427d Change default to 'help', add 'debug' option
The default when no parameter is entered is now to display the help.
To start services you can use 'all', or 'debug' to start them followed
but starting the CLI
2017-09-28 01:08:20 -05:00
Steve Penrod 07992b49d5 Revamping the scripts used to start/stop Mycroft
Reworking the mechanisms used to interact with Mycroft.  The old
mycroft.sh utilized the 'screen' command, but now with the CLI it
it easier to use that for viewing log files.  Plus there was
confusion between when to use start.sh and when to use mycroft.sh.

Now things are wrapped in the simple and easily discoverable scripts:
* start-mycroft.sh
* stop-mycroft.sh

The start-mycroft.sh allows you to start the background services and
to invoke the various tools (e.g. the CLI, unit tests, etc).

==== Fixed Issues ====

====  Documentation Notes ====
This will require revamp of the getting started guides, etc.
2017-09-28 01:08:20 -05:00