From 723ac08abbe47683dab68a48a966581914a9ad74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Thu, 14 Aug 2025 14:14:59 +0200 Subject: [PATCH] Update (#6825) --- frontend/public/json/spoolman.json | 2 +- install/spoolman-install.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/public/json/spoolman.json b/frontend/public/json/spoolman.json index c9ba71dcb..7a116e5d6 100644 --- a/frontend/public/json/spoolman.json +++ b/frontend/public/json/spoolman.json @@ -9,7 +9,7 @@ "updateable": true, "privileged": false, "interface_port": 7912, - "documentation": null, + "documentation": "https://github.com/Donkie/Spoolman/wiki/Installation", "website": "https://github.com/Donkie/Spoolman", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/spoolman.webp", "config_path": "/opt/spoolman/.env", diff --git a/install/spoolman-install.sh b/install/spoolman-install.sh index 4a70725bf..3dac88343 100644 --- a/install/spoolman-install.sh +++ b/install/spoolman-install.sh @@ -43,17 +43,19 @@ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Spoolman" msg_info "Creating Service" -cat </etc/systemd/system/spoolman.service +cat <<'EOF' >/etc/systemd/system/spoolman.service [Unit] Description=Spoolman After=network.target + [Service] Type=simple WorkingDirectory=/opt/spoolman EnvironmentFile=/opt/spoolman/.env -ExecStart=uvicorn spoolman.main:app --host 0.0.0.0 --port 7912 +ExecStart=uvicorn spoolman.main:app --host "${SPOOLMAN_HOST}" --port "${SPOOLMAN_PORT}" Restart=always User=root + [Install] WantedBy=multi-user.target EOF