File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ wget -q "https://github.com/CrazyWolf13/web-check/archive/refs/heads/${RELEASE}.
77
77
tar xzf $temp_file
78
78
mv web-check-${RELEASE} /opt/web-check
79
79
cd /opt/web-check
80
- cat << EOF > /opt/web-check/.env
80
+ cat << ' EOF ' > /opt/web-check/.env
81
81
CHROME_PATH=/usr/bin/chromium
82
82
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
83
83
HEADLESS=true
@@ -108,7 +108,7 @@ $STD yarn build --production
108
108
msg_ok " Built Web-Check"
109
109
110
110
msg_info " Creating Service"
111
- cat > /opt/run_web-check.sh << ' EOF '
111
+ cat << ' EOF ' > /opt/run_web-check.sh
112
112
#!/bin/bash
113
113
SCREEN_RESOLUTION="1280x1024x24"
114
114
if ! systemctl is-active --quiet dbus; then
@@ -122,7 +122,7 @@ cd /opt/web-check
122
122
exec yarn start
123
123
EOF
124
124
chmod +x /opt/run_web-check.sh
125
- cat > /etc/systemd/system/web-check.service << ' EOF '
125
+ cat << ' EOF ' > /etc/systemd/system/web-check.service
126
126
[Unit]
127
127
Description=Web Check Service
128
128
After=network.target
You can’t perform that action at this time.
0 commit comments