File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
"updateable" : true ,
10
10
"privileged" : false ,
11
11
"interface_port" : 7912 ,
12
- "documentation" : null ,
12
+ "documentation" : " https://github.com/Donkie/Spoolman/wiki/Installation " ,
13
13
"website" : " https://github.com/Donkie/Spoolman" ,
14
14
"logo" : " https://cdn.jsdelivr.net/gh/selfhst/icons/webp/spoolman.webp" ,
15
15
"config_path" : " /opt/spoolman/.env" ,
Original file line number Diff line number Diff line change @@ -43,17 +43,19 @@ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
43
43
msg_ok " Installed Spoolman"
44
44
45
45
msg_info " Creating Service"
46
- cat << EOF >/etc/systemd/system/spoolman.service
46
+ cat << ' EOF ' >/etc/systemd/system/spoolman.service
47
47
[Unit]
48
48
Description=Spoolman
49
49
After=network.target
50
+
50
51
[Service]
51
52
Type=simple
52
53
WorkingDirectory=/opt/spoolman
53
54
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}"
55
56
Restart=always
56
57
User=root
58
+
57
59
[Install]
58
60
WantedBy=multi-user.target
59
61
EOF
You can’t perform that action at this time.
0 commit comments