Add SessionEndpoint, update ChatEndpoint, update deploy script and project file, remove DEVY.md
This commit is contained in:
1 parent
a927d6da33
commit
882d4ec21d
5 files changed
+56
-26
No files matched your search
@@ -6,6 +6,7 @@ _hostname=$(hostname)
|
||||
|
||||
if [ "$_hostname" = "stein2" ]; then
|
||||
cd /home/node/.openclaw/workspace/projects/gott
|
||||
systemctl stop gott
|
||||
elif [ "$_hostname" = "meleki" ]; then
|
||||
cd ~/.openclaw/workspace/projects/gott
|
||||
else
|
||||
@@ -19,9 +20,9 @@ dotnet publish -c Release -o publish
|
||||
cp wwwroot/index.html publish/wwwroot/index.html
|
||||
|
||||
if [ "$_hostname" = "stein2" ]; then
|
||||
systemctl restart gott
|
||||
systemctl start gott
|
||||
elif [ "$_hostname" = "meleki" ]; then
|
||||
ssh -o ConnectTimeout=5 meleki@192.168.100.200 "nohup sudo systemctl restart gott > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
echo "Service restarted"
|
||||
echo "OK"
|
||||
Reference in new issue
Block a user