websocket server by service

This commit is contained in:
Arnaud Fornerot 2021-12-07 14:04:38 +01:00
parent 7a3203781e
commit 496cf5c2e1
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ MAILER_NOREPLY=noreply@noreply.fr
# WEBSOCKET
WSS_USE=1
WSS_USE=0
WSS_PORT=5588

View File

@ -40,7 +40,7 @@ MAILER_NOREPLY=noreply@noreply.fr
# WEBSOCKET
WSS_USE=1
WSS_USE=0
WSS_PORT=5588

View File

@ -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