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
1bd9e162
Commit
1bd9e162
authored
4 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Copy systemd units upon init.
parent
4ccf710c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/initialize.sh
+6
-1
6 additions, 1 deletion
script/initialize.sh
with
6 additions
and
1 deletion
script/initialize.sh
+
6
−
1
View file @
1bd9e162
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
#
#
# Prepare folders and permissions for installing engine on production.
# Prepare folders and permissions for installing engine on production.
#
#
# You'll need sudo/root privileges.
#
echo
"Create Log Directory '/var/log/aura/'"
echo
"Create Log Directory '/var/log/aura/'"
mkdir
-p
/var/log/aura
mkdir
-p
/var/log/aura
...
@@ -14,4 +16,7 @@ echo "Set Ownership of '/opt/aura/engine', '/var/log/aura/' and '/etc/aura/engin
...
@@ -14,4 +16,7 @@ echo "Set Ownership of '/opt/aura/engine', '/var/log/aura/' and '/etc/aura/engin
chown
-R
engineuser:engineuser /opt/aura
chown
-R
engineuser:engineuser /opt/aura
chown
-R
engineuser:engineuser /etc/aura
chown
-R
engineuser:engineuser /etc/aura
chown
-R
engineuser:engineuser /var/log/aura
chown
-R
engineuser:engineuser /var/log/aura
chown
-R
engineuser:engineuser /var/log/supervisor
chown
-R
engineuser:engineuser /var/log/supervisor
\ No newline at end of file
echo
"Copy Systemd unit files to '/etc/systemd/system/'"
cp
-n
/opt/aura/engine/configuration/systemd/
*
/etc/systemd/system/
\ No newline at end of file
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