wip
This commit is contained in:
parent
e53275d167
commit
fb153171f8
|
@ -31,7 +31,6 @@ RUN dpkg --add-architecture i386 && \
|
|||
strace \
|
||||
unzip \
|
||||
wget \
|
||||
sudo \
|
||||
zip && \
|
||||
curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
|
||||
apt-get install -y nodejs && \
|
||||
|
|
|
@ -54,7 +54,8 @@ start_server() {
|
|||
|
||||
stop_server() {
|
||||
if [ "$(uname)" = 'Linux' ]; then
|
||||
sudo systemctl start realm-object-server
|
||||
# FIXME: sudo is required if not Docker
|
||||
systemctl start realm-object-server
|
||||
fi
|
||||
if [[ ${SERVER_PID} -gt 0 ]] ; then
|
||||
kill -9 ${SERVER_PID}
|
||||
|
@ -308,8 +309,9 @@ case "$TARGET" in
|
|||
adb reverse tcp:9443 tcp:9443
|
||||
adb reverse tcp:9080 tcp:9080
|
||||
adb reverse tcp:8888 tcp:8888
|
||||
sudo systemctl enable realm-object-server
|
||||
sudo systemctl start realm-object-server
|
||||
# FIXME: sudo is required if not Docker
|
||||
systemctl enable realm-object-server
|
||||
systemctl start realm-object-server
|
||||
fi
|
||||
|
||||
[[ $CONFIGURATION == 'Debug' ]] && exit 0
|
||||
|
|
Loading…
Reference in New Issue