Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aura-engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Kruse
aura-engine
Commits
977e820f
Commit
977e820f
authored
4 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Docs for starting with individual units. #21
parent
23dfc6f2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/installation-production.md
+38
-3
38 additions, 3 deletions
docs/installation-production.md
with
38 additions
and
3 deletions
docs/installation-production.md
+
38
−
3
View file @
977e820f
...
...
@@ -8,6 +8,8 @@
-
[
Configuration
](
#configuration
)
-
[
Running Engine
](
#running-engine
)
-
[
Running with Systemd
](
#running-with-systemd
)
-
[
Combined Unit for Engine Core and Liquidsoap
](
#combined-unit-for-engine-core-and-liquidsoap
)
-
[
Individual Units for Engine Core and Liquidsoap
](
#individual-units-for-engine-core-and-liquidsoap
)
-
[
Running with Supervisor
](
#running-with-supervisor
)
-
[
Logging
](
#logging
)
-
[
Read more
](
#read-more
)
...
...
@@ -223,12 +225,13 @@ For this you can utilize either [Systemd](https://systemd.io/) or [Supervisor](h
### Running with Systemd
#### Combined Unit for Engine Core and Liquidsoap
Copy the unit file
`/opt/aura/engine/config/systemd/aura-engine.service`
to
`/etc/systemd/system/`
.
This unit file starts engine-core and engine-liquidsoap within one command. Here Liquidsoap is started as
as subprocess.
> Please note not to use any other unit files in that directory yet. They are work in progress.
as subprocess. For more fine-grained control the units in the next section are recommended instead.
Now you'll need to reload the Systemd unit files
...
...
@@ -260,6 +263,38 @@ sudo systemctl restart aura-engine
sudo
systemctl status aura-engine
```
#### Individual Units for Engine Core and Liquidsoap
Copy the unit files
`/opt/aura/engine/config/systemd/aura-engine-lqs.service`
and
`/opt/aura/engine/config/systemd/aura-engine-core.service`
to
`/etc/systemd/system/`
.
Now you'll need to reload the Systemd unit files
```
shell
sudo
systemctl daemon-reload
```
**Start Liquidsoap and check its status**
```
shell
sudo
systemctl start aura-engine-lqs
sudo
systemctl status aura-engine-lqs
```
**Start Engine Core and check its status**
```
shell
sudo
systemctl start aura-engine-core
sudo
systemctl status aura-engine-core
```
**Use journalctl to observe the logs**
```
shell
sudo
journalctl
-f
```
### Running with Supervisor
Now, given you are in the engine's home directory
`/opt/aura/engine/`
, simply type following to start
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment