diff --git a/script/initialize.sh b/script/initialize.sh index 711a721e40bed566f607fd2f35a2952c73bcf88a..e2d1fe6d7a52cf393fd137a1502e323ffc966cc9 100755 --- a/script/initialize.sh +++ b/script/initialize.sh @@ -3,6 +3,8 @@ # # Prepare folders and permissions for installing engine on production. # +# You'll need sudo/root privileges. +# echo "Create Log Directory '/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 chown -R engineuser:engineuser /opt/aura chown -R engineuser:engineuser /etc/aura chown -R engineuser:engineuser /var/log/aura -chown -R engineuser:engineuser /var/log/supervisor \ No newline at end of file +chown -R engineuser:engineuser /var/log/supervisor + +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