From e6d7da91aa4b94aa8428f01c73041af5cb7b3dd2 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 17 Oct 2023 15:30:43 +0800 Subject: [PATCH] websoft9 syslog --- systemd/script/send_credentials.sh | 2 +- systemd/websoft9.service | 3 ++- version.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/systemd/script/send_credentials.sh b/systemd/script/send_credentials.sh index 23704e6c..9a44042a 100644 --- a/systemd/script/send_credentials.sh +++ b/systemd/script/send_credentials.sh @@ -63,5 +63,5 @@ for ((i=0; i<$length; i++)); do container=${containers[$i]} section=${sections[$i]} echo "$container:" - sudo docker exec -i websoft9-apphub apphub setconfig --section $section --key user_pwd --value ${passwords[$container]} + docker exec -i websoft9-apphub apphub setconfig --section $section --key user_pwd --value ${passwords[$container]} done \ No newline at end of file diff --git a/systemd/websoft9.service b/systemd/websoft9.service index fb1e1dbc..8a77aa96 100644 --- a/systemd/websoft9.service +++ b/systemd/websoft9.service @@ -9,7 +9,8 @@ ExecStart=/bin/bash /opt/websoft9/systemd/start_up.sh Restart=on-failure Type=simple NotifyAccess=all -StandardError=syslog +StandardOutput=journal +StandardError=journal User=root Group=root diff --git a/version.json b/version.json index 48e48501..de7ec1b0 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "0.8.26-rc57", + "version": "0.8.26-rc58", "plugins": { "portainer": "0.0.7", "nginx": "0.0.5",