From 689194fe547119f160ac913f4efad3ab1d61e55d Mon Sep 17 00:00:00 2001 From: amin Date: Mon, 25 May 2026 22:13:25 +0200 Subject: [PATCH] updated according to comments --- ct/koffan.sh | 4 ++-- install/koffan-install.sh | 9 ++++----- json/koffan.json | 8 +++++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ct/koffan.sh b/ct/koffan.sh index 0aab7171..50766151 100644 --- a/ct/koffan.sh +++ b/ct/koffan.sh @@ -1,14 +1,14 @@ #!/usr/bin/env bash source <(curl -s https://raw.githubusercontent.com/AminGholizad/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG -# Author: [AminGholizad] +# Author: (AminGholizad) # License: MIT | https://github.com/AminGholizad/ProxmoxVED/raw/main/LICENSE # Source: https://github.com/PanSalut/Koffan APP="Koffan" var_tags="${var_tags:-productivity}" var_cpu="${var_cpu:-1}" -var_ram="${var_ram:-512}" +var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" var_version="${var_version:-13}" diff --git a/install/koffan-install.sh b/install/koffan-install.sh index fe5bfb06..2b79fddd 100644 --- a/install/koffan-install.sh +++ b/install/koffan-install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Copyright (c) 2021-2026 community-scripts ORG -# Author: [AminGholizad] +# Author: (AminGholizad) # License: MIT | https://github.com/AminGholizad/ProxmoxVED/raw/main/LICENSE # Source: https://github.com/PanSalut/Koffan @@ -35,9 +35,9 @@ PORT=3000 DB_PATH=/opt/koffan/data/shopping.db EOF -{ - echo "Password: ${PASSWORD}" -} >~/koffan.creds +cat <~/koffan.creds +Password: ${PASSWORD} +EOF msg_ok "Configured Koffan" msg_info "Creating systemd service" @@ -55,7 +55,6 @@ Restart=always [Install] WantedBy=multi-user.target EOF - systemctl enable -q --now koffan msg_ok "Created systemd service" diff --git a/json/koffan.json b/json/koffan.json index e1263cf3..7a1b2dbb 100644 --- a/json/koffan.json +++ b/json/koffan.json @@ -1,8 +1,10 @@ { "name": "Koffan", "slug": "koffan", - "categories": [12], - "date_created": "2026-05-21", + "categories": [ + 12 + ], + "date_created": "2026-05-25", "type": "ct", "updateable": true, "privileged": false, @@ -18,7 +20,7 @@ "config_path": "/opt/koffan/data/.env", "resources": { "cpu": 1, - "ram": 512, + "ram": 1024, "hdd": 4, "os": "Debian", "version": "13"