fix: custom command execution via systemd-run für prozessunabhängigkeit

This commit is contained in:
Meleki committed 2026-02-27 13:34:14 +01:00
1 parent 2b8749ee3a
commit 73c6d38254
11 files changed
+242 -12

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ _hostname=$(hostname)
if [ "$_hostname" = "stein2" ]; then
cd /home/node/.openclaw/workspace/projects/gott
systemctl stop gott
elif [ "$_hostname" = "meleki" ]; then
elif [ "$_hostname" = "meleki-container" ]; then
cd ~/.openclaw/workspace/projects/gott
else
echo "$_hostname: deployment not allowed"
@@ -21,7 +21,7 @@ cp wwwroot/index.html publish/wwwroot/index.html
if [ "$_hostname" = "stein2" ]; then
systemctl start gott
elif [ "$_hostname" = "meleki" ]; then
elif [ "$_hostname" = "meleki-container" ]; then
ssh -o ConnectTimeout=5 meleki@192.168.100.200 "nohup sudo systemctl restart gott > /dev/null 2>&1 &"
fi