Skip to content

Commit

Permalink
Merge pull request #178 from OpenVoiceOS/feat/add_svc_management
Browse files Browse the repository at this point in the history
[readme] Add documentation about services start/stop
  • Loading branch information
goldyfruit authored Oct 11, 2024
2 parents 5d45da0 + f7236d8 commit bad487b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,33 @@ Then follow the instructions display on screen.

To update the current Open Voice OS instance, backup your `~/.config/mycroft/mycroft.conf` or `~/ovos/config/mycroft.conf` _(only if required)_ and re-run installer but answer **"No"** to the _"Do you want to uninstall Open Voice OS?"_ question.

## Start & Stop the services

When the `virtualenv` method as being choose _(default)_ during the installation process, few systemd unit files have being created in order to manages the different components as services.

### List the systemd unit files

```shell
systemctl --user list-units "*ovos*"
systemctl list-units "*ovos*"
```

Only one service is running as `root`; `ovos-phal-admin`.

### Start Open Voice OS

```shell
systemctl --user start ovos
sudo systemctl start ovos-phal-admin
```

### Stop Open Voice OS

```shell
systemctl --user stop ovos
sudo systemctl stop ovos-phal-admin
```

## Automated install

The installer supports a non-interactive _(automated)_ process of installation by using a scenario file, this file must be created under the `~/.config/ovos-installer/` directory and should be named `scenario.yaml`.
Expand Down

0 comments on commit bad487b

Please sign in to comment.