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
14
14
update_os
15
15
16
16
msg_info " Installing Dependencies"
17
+ export DEBIAN_FRONTEND=noninteractive
17
18
$STD apt-get -y install --no-install-recommends \
18
19
curl \
19
20
sudo \
@@ -77,7 +78,7 @@ wget -q "https://github.com/CrazyWolf13/web-check/archive/refs/heads/${RELEASE}.
77
78
tar xzf $temp_file
78
79
mv web-check-${RELEASE} /opt/web-check
79
80
cd /opt/web-check
80
- cat << EOF > /opt/web-check/.env
81
+ cat << ' EOF ' > /opt/web-check/.env
81
82
CHROME_PATH=/usr/bin/chromium
82
83
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
83
84
HEADLESS=true
@@ -108,7 +109,7 @@ $STD yarn build --production
108
109
msg_ok " Built Web-Check"
109
110
110
111
msg_info " Creating Service"
111
- cat << EOF > /opt/run_web-check.sh
112
+ cat << ' EOF ' > /opt/run_web-check.sh
112
113
#!/bin/bash
113
114
SCREEN_RESOLUTION="1280x1024x24"
114
115
if ! systemctl is-active --quiet dbus; then
@@ -122,7 +123,7 @@ cd /opt/web-check
122
123
exec yarn start
123
124
EOF
124
125
chmod +x /opt/run_web-check.sh
125
- cat << EOF > /etc/systemd/system/web-check.service
126
+ cat << ' EOF ' > /etc/systemd/system/web-check.service
126
127
[Unit]
127
128
Description=Web Check Service
128
129
After=network.target
You can’t perform that action at this time.
0 commit comments