Commit 5484d31a authored by Xavier Thompson's avatar Xavier Thompson

software/theia: Add supervisorctl wrapper theiactl

Let the user easily manage services specific to theia such as:
```
$ theiactl stop slapos-node-auto
slapos-node-auto: stopped
```
parent 4c3725cf
......@@ -23,6 +23,7 @@ extends =
./buildout.hash.cfg
parts =
theiactl
theia-wrapper
slapos-cookbook
python-with-eggs
......@@ -354,6 +355,13 @@ install +=
[cli-utilities]
PATH = ${nodejs:location}/bin:${bash:location}/bin:${fish-shell:location}/bin:${tig:location}/bin:${vim:location}/bin:${tmux:location}/bin:${git:location}/bin:${curl:location}/bin:${python2.7:location}/bin:${buildout:bin-directory}
[theiactl]
recipe = slapos.recipe.template:jinja2
rendered = ${buildout:bin-directory}/${:_buildout_section_name_}
template =
inline:
#!/bin/sh
${buildout:bin-directory}/supervisorctl -c $HOME/srv/runner/etc/supervisord.conf "$@"
[theia-wrapper]
recipe = slapos.recipe.template:jinja2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment