Skip to content

Commit 723ac08

Browse files
authored
Update (#6825)
1 parent 35c4c36 commit 723ac08

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

frontend/public/json/spoolman.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"updateable": true,
1010
"privileged": false,
1111
"interface_port": 7912,
12-
"documentation": null,
12+
"documentation": "https://github.com/Donkie/Spoolman/wiki/Installation",
1313
"website": "https://github.com/Donkie/Spoolman",
1414
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/spoolman.webp",
1515
"config_path": "/opt/spoolman/.env",

install/spoolman-install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,19 @@ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
4343
msg_ok "Installed Spoolman"
4444

4545
msg_info "Creating Service"
46-
cat <<EOF >/etc/systemd/system/spoolman.service
46+
cat <<'EOF' >/etc/systemd/system/spoolman.service
4747
[Unit]
4848
Description=Spoolman
4949
After=network.target
50+
5051
[Service]
5152
Type=simple
5253
WorkingDirectory=/opt/spoolman
5354
EnvironmentFile=/opt/spoolman/.env
54-
ExecStart=uvicorn spoolman.main:app --host 0.0.0.0 --port 7912
55+
ExecStart=uvicorn spoolman.main:app --host "${SPOOLMAN_HOST}" --port "${SPOOLMAN_PORT}"
5556
Restart=always
5657
User=root
58+
5759
[Install]
5860
WantedBy=multi-user.target
5961
EOF

0 commit comments

Comments
 (0)