From 0a35b1a5bb3bb8c61aa1e8f95e14048667263101 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 6 Jun 2024 22:24:44 -0400 Subject: [PATCH] Update iventoy-install.sh fix spacing in service file --- install/iventoy-install.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/install/iventoy-install.sh b/install/iventoy-install.sh index 3c3e3953..ea58b59d 100644 --- a/install/iventoy-install.sh +++ b/install/iventoy-install.sh @@ -31,18 +31,18 @@ msg_ok "Installed iVentoy" msg_info "Creating Service" cat </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