updated according to comments

This commit is contained in:
amin
2026-05-25 22:13:25 +02:00
parent 67d6576b97
commit 689194fe54
3 changed files with 11 additions and 10 deletions

View File

@@ -1,14 +1,14 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/AminGholizad/ProxmoxVED/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/AminGholizad/ProxmoxVED/main/misc/build.func)
# Copyright (c) 2021-2026 community-scripts ORG # Copyright (c) 2021-2026 community-scripts ORG
# Author: [AminGholizad] # Author: (AminGholizad)
# License: MIT | https://github.com/AminGholizad/ProxmoxVED/raw/main/LICENSE # License: MIT | https://github.com/AminGholizad/ProxmoxVED/raw/main/LICENSE
# Source: https://github.com/PanSalut/Koffan # Source: https://github.com/PanSalut/Koffan
APP="Koffan" APP="Koffan"
var_tags="${var_tags:-productivity}" var_tags="${var_tags:-productivity}"
var_cpu="${var_cpu:-1}" var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}" var_ram="${var_ram:-1024}"
var_disk="${var_disk:-4}" var_disk="${var_disk:-4}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-13}" var_version="${var_version:-13}"

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG # Copyright (c) 2021-2026 community-scripts ORG
# Author: [AminGholizad] # Author: (AminGholizad)
# License: MIT | https://github.com/AminGholizad/ProxmoxVED/raw/main/LICENSE # License: MIT | https://github.com/AminGholizad/ProxmoxVED/raw/main/LICENSE
# Source: https://github.com/PanSalut/Koffan # Source: https://github.com/PanSalut/Koffan
@@ -35,9 +35,9 @@ PORT=3000
DB_PATH=/opt/koffan/data/shopping.db DB_PATH=/opt/koffan/data/shopping.db
EOF EOF
{ cat <<EOF >~/koffan.creds
echo "Password: ${PASSWORD}" Password: ${PASSWORD}
} >~/koffan.creds EOF
msg_ok "Configured Koffan" msg_ok "Configured Koffan"
msg_info "Creating systemd service" msg_info "Creating systemd service"
@@ -55,7 +55,6 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now koffan systemctl enable -q --now koffan
msg_ok "Created systemd service" msg_ok "Created systemd service"

View File

@@ -1,8 +1,10 @@
{ {
"name": "Koffan", "name": "Koffan",
"slug": "koffan", "slug": "koffan",
"categories": [12], "categories": [
"date_created": "2026-05-21", 12
],
"date_created": "2026-05-25",
"type": "ct", "type": "ct",
"updateable": true, "updateable": true,
"privileged": false, "privileged": false,
@@ -18,7 +20,7 @@
"config_path": "/opt/koffan/data/.env", "config_path": "/opt/koffan/data/.env",
"resources": { "resources": {
"cpu": 1, "cpu": 1,
"ram": 512, "ram": 1024,
"hdd": 4, "hdd": 4,
"os": "Debian", "os": "Debian",
"version": "13" "version": "13"