mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-23 09:59:22 +02:00
12977 fix typos and hide websocket engine error
This commit is contained in:
parent
23ddf58138
commit
32beb3154d
@ -816,7 +816,7 @@ chmod 0644 /etc/logrotate.d/pandora_agent
|
|||||||
|
|
||||||
# Add websocket engine start script.
|
# Add websocket engine start script.
|
||||||
mv /var/www/html/pandora_console/pandora_websocket_engine /etc/init.d/ &>> "$LOGFILE"
|
mv /var/www/html/pandora_console/pandora_websocket_engine /etc/init.d/ &>> "$LOGFILE"
|
||||||
chmod +x /etc/init.d/pandora_websocket_engine
|
chmod +x /etc/init.d/pandora_websocket_engine &>> "$LOGFILE"
|
||||||
|
|
||||||
# Start Websocket engine
|
# Start Websocket engine
|
||||||
/etc/init.d/pandora_websocket_engine start &>> "$LOGFILE"
|
/etc/init.d/pandora_websocket_engine start &>> "$LOGFILE"
|
||||||
|
@ -530,7 +530,7 @@ if [ "$PANDORA_LTS" -eq '1' ] ; then
|
|||||||
elif [ "$PANDORA_LTS" -ne '1' ] ; then
|
elif [ "$PANDORA_LTS" -ne '1' ] ; then
|
||||||
[ "$PANDORA_SERVER_PACKAGE" ] || PANDORA_SERVER_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/Tarball/pandorafms_server-7.0NG.tar.gz"
|
[ "$PANDORA_SERVER_PACKAGE" ] || PANDORA_SERVER_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/Tarball/pandorafms_server-7.0NG.tar.gz"
|
||||||
[ "$PANDORA_CONSOLE_PACKAGE" ] || PANDORA_CONSOLE_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/Tarball/pandorafms_console-7.0NG.tar.gz"
|
[ "$PANDORA_CONSOLE_PACKAGE" ] || PANDORA_CONSOLE_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/Tarball/pandorafms_console-7.0NG.tar.gz"
|
||||||
[ "$PANDORA_AGENT_PACKAGE" ] || PANDORA_AGENT_PACKAGE=" https://firefly.pandorafms.com/pandorafms/latest/Tarball/pandorafms_agent_linux-7.0NG.x86_64.tar.gz"
|
[ "$PANDORA_AGENT_PACKAGE" ] || PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/Tarball/pandorafms_agent_linux-7.0NG.x86_64.tar.gz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$PANDORA_BETA" -eq '1' ] ; then
|
if [ "$PANDORA_BETA" -eq '1' ] ; then
|
||||||
@ -814,7 +814,7 @@ chmod 0644 /etc/logrotate.d/pandora_agent
|
|||||||
|
|
||||||
# Add websocket engine start script.
|
# Add websocket engine start script.
|
||||||
mv /var/www/html/pandora_console/pandora_websocket_engine /etc/init.d/ &>> "$LOGFILE"
|
mv /var/www/html/pandora_console/pandora_websocket_engine /etc/init.d/ &>> "$LOGFILE"
|
||||||
chmod +x /etc/init.d/pandora_websocket_engine
|
chmod +x /etc/init.d/pandora_websocket_engine &>> "$LOGFILE"
|
||||||
|
|
||||||
# Start Websocket engine
|
# Start Websocket engine
|
||||||
/etc/init.d/pandora_websocket_engine start &>> "$LOGFILE"
|
/etc/init.d/pandora_websocket_engine start &>> "$LOGFILE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user