Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
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
Container Registry
Model registry
Operate
Environments
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
AURA
engine
Commits
7290b2ea
Commit
7290b2ea
authored
3 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Generalize targets.
parent
74884754
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
config/supervisor/aura-engine.conf
+1
-1
1 addition, 1 deletion
config/supervisor/aura-engine.conf
config/systemd/aura-engine.service
+1
-1
1 addition, 1 deletion
config/systemd/aura-engine.service
run.sh
+5
-5
5 additions, 5 deletions
run.sh
with
8 additions
and
8 deletions
Dockerfile
+
1
−
1
View file @
7290b2ea
...
...
@@ -31,4 +31,4 @@ VOLUME ["/srv/socket", "/srv/logs", "/var/audio/source", "/var/audio/playlist"]
# Start the Engine
EXPOSE
1337/tcp
ENTRYPOINT
["./run.sh"]
ENTRYPOINT
["./run.sh"
, "prod"
]
This diff is collapsed.
Click to expand it.
config/supervisor/aura-engine.conf
+
1
−
1
View file @
7290b2ea
[
program
:
aura
-
engine
]
user
=
engineuser
directory
= /
opt
/
aura
/
engine
command
= /
opt
/
aura
/
engine
/
run
.
sh
engine
command
= /
opt
/
aura
/
engine
/
run
.
sh
prod
priority
=
666
autostart
=
true
...
...
This diff is collapsed.
Click to expand it.
config/systemd/aura-engine.service
+
1
−
1
View file @
7290b2ea
...
...
@@ -8,7 +8,7 @@ Requires=aura-engine-core.service
Type
=
simple
User
=
engineuser
WorkingDirectory
=
/opt/aura/engine
ExecStart
=
/opt/aura/engine/run.sh
ExecStart
=
/opt/aura/engine/run.sh
prod
Restart
=
always
[Install]
...
...
This diff is collapsed.
Click to expand it.
run.sh
+
5
−
5
View file @
7290b2ea
...
...
@@ -8,16 +8,16 @@ docker="false"
# Call with one of these parameters:
#
# - dev
# -
engine
# -
prod
# - test
# - recreate-database
# - docker:
engine
# - docker:
dev
# - docker:build
# - docker:push
#
if
[[
$*
=
~ ^
(
dev|
engine
|test|recreate-database
)
$
]]
;
then
if
[[
$*
=
~ ^
(
dev|
prod
|test|recreate-database
)
$
]]
;
then
mode
=
$1
fi
...
...
@@ -50,7 +50,7 @@ if [[ $docker == "false" ]]; then
### Runs Engine ###
if
[[
$mode
==
"
engine
"
]]
;
then
if
[[
$mode
==
"
prod
"
]]
;
then
/usr/bin/env
$PYTHON_EXEC
run.py
fi
...
...
@@ -79,7 +79,7 @@ if [[ $docker == "true" ]]; then
### Runs Engine Docker Container ###
if
[[
$mode
==
"
engine
"
]]
;
then
if
[[
$mode
==
"
dev
"
]]
;
then
if
[[
-z
"
${
AURA_ENGINE_CONFIG_PATH
}
"
]]
;
then
AURA_ENGINE_CONFIG_PATH
=
$(
readlink
-f
"
${
BASE_DIR
}
/config/engine.docker.ini"
)
...
...
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