File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ network_check
1414update_os
1515
1616msg_info " Installing Dependencies"
17+ export DEBIAN_FRONTEND=noninteractive
1718$STD apt-get -y install --no-install-recommends \
1819 curl \
1920 sudo \
@@ -77,7 +78,7 @@ wget -q "https://github.com/CrazyWolf13/web-check/archive/refs/heads/${RELEASE}.
7778tar xzf $temp_file
7879mv web-check-${RELEASE} /opt/web-check
7980cd /opt/web-check
80- cat << EOF > /opt/web-check/.env
81+ cat << ' EOF ' > /opt/web-check/.env
8182CHROME_PATH=/usr/bin/chromium
8283PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
8384HEADLESS=true
@@ -108,7 +109,7 @@ $STD yarn build --production
108109msg_ok " Built Web-Check"
109110
110111msg_info " Creating Service"
111- cat << EOF > /opt/run_web-check.sh
112+ cat << ' EOF ' > /opt/run_web-check.sh
112113#!/bin/bash
113114SCREEN_RESOLUTION="1280x1024x24"
114115if ! systemctl is-active --quiet dbus; then
@@ -122,7 +123,7 @@ cd /opt/web-check
122123exec yarn start
123124EOF
124125chmod +x /opt/run_web-check.sh
125- cat << EOF > /etc/systemd/system/web-check.service
126+ cat << ' EOF ' > /etc/systemd/system/web-check.service
126127[Unit]
127128Description=Web Check Service
128129After=network.target
You can’t perform that action at this time.
0 commit comments