This commit is contained in:
CanbiZ
2025-09-03 10:23:46 +02:00
parent 7d679aaef7
commit fbb093844e
2 changed files with 21 additions and 21 deletions

View File

@@ -34,9 +34,8 @@ fetch_and_deploy_gh_release "comskip" "swapplications/comskip" "prebuild" "lates
fetch_and_deploy_gh_release "uhf-server" "swapplications/uhf-server-dist" "prebuild" "latest" "/opt/uhf-server" "UHF.Server-linux-x64-*.zip"
msg_info "Creating Service"
service_path=""
cat <<EOF >/etc/systemd/system/uhf-server.service
echo "[Unit]
[Unit]
Description=UHF Server service
After=syslog.target network-online.target
[Service]
@@ -47,7 +46,7 @@ ExecStart=/opt/uhf-server/uhf-server
[Install]
WantedBy=multi-user.target
EOF
systemctl enable --now -q uhf-server.service
systemctl enable -q --now uhf-server
msg_ok "Created Service"
motd_ssh