From 496cf5c2e1a6f7c1d8c5822d4c0a9f7a19929090 Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Tue, 7 Dec 2021 14:04:38 +0100 Subject: [PATCH] websocket server by service --- src/ninegitea-1.0/.env | 2 +- src/ninegitea-1.0/scripts/.env.model | 2 +- src/ninegitea-1.0/scripts/websocket.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ninegitea-1.0/.env b/src/ninegitea-1.0/.env index 2141e39..6bc4ddd 100644 --- a/src/ninegitea-1.0/.env +++ b/src/ninegitea-1.0/.env @@ -40,7 +40,7 @@ MAILER_NOREPLY=noreply@noreply.fr # WEBSOCKET -WSS_USE=1 +WSS_USE=0 WSS_PORT=5588 diff --git a/src/ninegitea-1.0/scripts/.env.model b/src/ninegitea-1.0/scripts/.env.model index 2141e39..6bc4ddd 100644 --- a/src/ninegitea-1.0/scripts/.env.model +++ b/src/ninegitea-1.0/scripts/.env.model @@ -40,7 +40,7 @@ MAILER_NOREPLY=noreply@noreply.fr # WEBSOCKET -WSS_USE=1 +WSS_USE=0 WSS_PORT=5588 diff --git a/src/ninegitea-1.0/scripts/websocket.sh b/src/ninegitea-1.0/scripts/websocket.sh index 2bdd9e6..d70a5ac 100755 --- a/src/ninegitea-1.0/scripts/websocket.sh +++ b/src/ninegitea-1.0/scripts/websocket.sh @@ -32,6 +32,6 @@ then if [ "$restart" == "yes" ] && [ "$1" != "stop" ] ; then echo WEBSOCKET = START - bin/console app:Websocket --name $APP_ALIAS & disown + systemctl restart $APP_ALIAS fi fi \ No newline at end of file