Skip to content
Snippets Groups Projects
Commit 1bd9e162 authored by David Trattnig's avatar David Trattnig
Browse files

Copy systemd units upon init.

parent 4ccf710c
No related branches found
No related tags found
No related merge requests found
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment