Update iventoy-install.sh

fix spacing in service file
pull/3154/head
tteckster 2024-06-06 22:24:44 -04:00 committed by GitHub
parent c10903942f
commit 0a35b1a5bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 11 deletions

View File

@ -31,18 +31,18 @@ msg_ok "Installed iVentoy"
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/iventoy.service cat <<EOF >/etc/systemd/system/iventoy.service
[Unit] [Unit]
Description =iVentoy PXE Booter Description=iVentoy PXE Booter
Documentation =https://www.iventoy.com Documentation=https://www.iventoy.com
Wants =network-online.target Wants=network-online.target
[Service] [Service]
Type =forking Type=forking
Environment =IVENTOY_API_ALL=1 Environment=IVENTOY_API_ALL=1
Environment =IVENTOY_AUTO_RUN=1 Environment=IVENTOY_AUTO_RUN=1
Environment =LIBRARY_PATH=/opt/iventoy/lib/lin64 Environment=LIBRARY_PATH=/opt/iventoy/lib/lin64
Environment =LD_LIBRARY_PATH=/opt/iventoy/lib/lin64 Environment=LD_LIBRARY_PATH=/opt/iventoy/lib/lin64
ExecStart =sh ./iventoy.sh -R start ExecStart=sh ./iventoy.sh -R start
WorkingDirectory =/opt/iventoy WorkingDirectory=/opt/iventoy
Restart =on-failure Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF