This commit is contained in:
Your Name 2025-05-03 19:06:12 +12:00
parent e10704636f
commit 5909c90941
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ bool service_runner::uninstall() {
}
// 4. Remove the service directory from the server
std::string rm_cmd = "'rm -rf " + quote(remotepath::service(mServer, mService)) + "'";
std::string rm_cmd = "rm -rf " + quote(remotepath::service(mServer, mService));
if (!mServerEnv.execute_ssh_command(rm_cmd)) {
std::cerr << "Failed to remove service directory" << std::endl;
return false;

View File

@ -14,7 +14,7 @@ if ! docker volume inspect "${VOLUME_NAME}" &>/dev/null; then
fi
# heredoc for config file. Have to use double quotes to substitute variables.
docker run --rm -v ${VOLUME_NAME}:/data alpine sh -c "\
docker run --rm -v ${VOLUME_NAME}:/data debian bash -c "\
cat <<EOF > /data/sos_config.json
{
\"write_tokens\": [