mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 08:33:17 +01:00
Update iventoy-install.sh
fix spacing in service file
This commit is contained in:
parent
c10903942f
commit
0a35b1a5bb
@ -31,18 +31,18 @@ msg_ok "Installed iVentoy"
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/iventoy.service
|
||||
[Unit]
|
||||
Description =iVentoy PXE Booter
|
||||
Documentation =https://www.iventoy.com
|
||||
Wants =network-online.target
|
||||
Description=iVentoy PXE Booter
|
||||
Documentation=https://www.iventoy.com
|
||||
Wants=network-online.target
|
||||
[Service]
|
||||
Type =forking
|
||||
Environment =IVENTOY_API_ALL=1
|
||||
Environment =IVENTOY_AUTO_RUN=1
|
||||
Environment =LIBRARY_PATH=/opt/iventoy/lib/lin64
|
||||
Environment =LD_LIBRARY_PATH=/opt/iventoy/lib/lin64
|
||||
ExecStart =sh ./iventoy.sh -R start
|
||||
WorkingDirectory =/opt/iventoy
|
||||
Restart =on-failure
|
||||
Type=forking
|
||||
Environment=IVENTOY_API_ALL=1
|
||||
Environment=IVENTOY_AUTO_RUN=1
|
||||
Environment=LIBRARY_PATH=/opt/iventoy/lib/lin64
|
||||
Environment=LD_LIBRARY_PATH=/opt/iventoy/lib/lin64
|
||||
ExecStart=sh ./iventoy.sh -R start
|
||||
WorkingDirectory=/opt/iventoy
|
||||
Restart=on-failure
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user