Skip to content

Tool for generating supervisord configurations from Rhasspy profile

License

Notifications You must be signed in to change notification settings

rhasspy/rhasspy-supervisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

35d49da · Jan 17, 2021
Jun 25, 2020
May 17, 2020
Feb 13, 2020
Jul 1, 2020
Jan 17, 2021
Jul 1, 2020
Jul 1, 2020
Feb 23, 2020
Jan 19, 2020
Dec 30, 2019
Jan 19, 2020
Jul 1, 2020
Dec 30, 2019
Dec 30, 2019
Jun 24, 2020
Jun 24, 2020
Jan 7, 2021
Jan 14, 2020
Jun 24, 2020
Jan 19, 2020
Jan 21, 2020
Oct 12, 2020
Mar 25, 2020
Feb 13, 2020
Dec 30, 2019
Jun 24, 2020

Repository files navigation

Rhasspy Supervisor

Continous Integration PyPI package version Python versions GitHub license

Generates a supervisord configuration from a Rhasspy profile.

Requirements

  • Python 3.7

Installation

$ git clone https://github.com/rhasspy/rhasspy-supervisor
$ cd rhasspy-supervisor
$ ./configure
$ make
$ make install

Running

$ bin/rhasspy-supervisor <ARGS>

Command-Line Options

usage: rhasspysupervisor [-h] --profile PROFILE
                         [--system-profiles SYSTEM_PROFILES]
                         [--user-profiles USER_PROFILES]
                         [--supervisord-conf SUPERVISORD_CONF]
                         [--docker-compose DOCKER_COMPOSE]
                         [--local-mqtt-port LOCAL_MQTT_PORT] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  --profile PROFILE, -p PROFILE
                        Name of profile to load
  --system-profiles SYSTEM_PROFILES
                        Directory with base profile files (read only,
                        default=bundled)
  --user-profiles USER_PROFILES
                        Directory with user profile files (read/write,
                        default=$HOME/.config/rhasspy/profiles)
  --supervisord-conf SUPERVISORD_CONF
                        Name of supervisord configuration file to write in
                        profile (default: supervisord.conf)
  --docker-compose DOCKER_COMPOSE
                        Name of docker-compose YAML file to write in profile
                        (default: docker-compose.yml)
  --local-mqtt-port LOCAL_MQTT_PORT
                        Port to use for internal MQTT broker (default: 12183)
  --debug               Print DEBUG message to console