Verified Commit ac590055 authored by AtjonTV's avatar AtjonTV

Beta 3 - More Fixes

Signed-off-by: AtjonTV's avatarAtjonTV <thomas.obernosterer@atvg-studios.com>
parent 22b1558f
#!/bin/bash
if [ "$1" == "start" ]; then
/usr/bin/java -jar /opt/aaab-master/aaab-master.jar --config=/opt/aaab-master/config.konf &>> "/opt/aaab-master/logs/$(date '+%Y-%m-%d').log"
/usr/bin/java -jar /opt/aaab-master/aaab.jar --config=/opt/aaab-master/config.konf &>> "/opt/aaab-master/logs/$(date '+%Y-%m-%d').log"
elif [ "$1" == "startx" ]; then
screen -S aaab-master ./service start
elif [ "$1" == "stop" ]; then
......
......@@ -33,6 +33,7 @@ cp master/aaab.service /opt/aaab-master
ln -s /opt/aaab-master/aaab.service /etc/systemd/system/aaab-master.service
cp master/service /opt/aaab-master
cp master/deploy /opt/aaab-master
chmod +x /opt/aaab-master/{service,deploy}
# Service
service aaab-master start
\ No newline at end of file
......@@ -5,6 +5,11 @@ updates.enable=true
updates.token=77150a90e970417c6b1d7a8134cb01199762c5ea
updates.location=/opt/aaab-proxy/bin
proxy.enable=true
sync.enable=true
sync.smart=true
tracking.token=77150a90e970417c6b1d7a8134cb01199762c5ea
tracking.file=/opt/aaab-proxy/tracking.json
......
#!/bin/bash
if [ "$1" == "start" ]; then
/usr/bin/java -jar /opt/aaab-proxy/aaab-proxy.jar --config=/opt/aaab-proxy/config.konf &>> "/opt/aaab-proxy/logs/$(date '+%Y-%m-%d').log"
/usr/bin/java -jar /opt/aaab-proxy/aaab.jar --config=/opt/aaab-proxy/config.konf &>> "/opt/aaab-proxy/logs/$(date '+%Y-%m-%d').log"
elif [ "$1" == "startx" ]; then
screen -S aaab-proxy ./service start
elif [ "$1" == "stop" ]; then
......
......@@ -19,6 +19,7 @@ cp proxy/aaab.service /opt/aaab-proxy
ln -s /opt/aaab-proxy/aaab.service /etc/systemd/system/aaab-proxy.service
cp proxy/service /opt/aaab-proxy
cp proxy/deploy /opt/aaab-proxy
chmod +x /opt/aaab-project/{service,deploy}
# Service
service aaab-proxy start
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment