Skip to content

Commit 49093a6

Browse files
authored
Update web-check-install.sh
1 parent 063ea74 commit 49093a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/web-check-install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ wget -q "https://github.com/CrazyWolf13/web-check/archive/refs/heads/${RELEASE}.
7777
tar xzf $temp_file
7878
mv web-check-${RELEASE} /opt/web-check
7979
cd /opt/web-check
80-
cat <<EOF > /opt/web-check/.env
80+
cat <<'EOF' > /opt/web-check/.env
8181
CHROME_PATH=/usr/bin/chromium
8282
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
8383
HEADLESS=true
@@ -108,7 +108,7 @@ $STD yarn build --production
108108
msg_ok "Built Web-Check"
109109

110110
msg_info "Creating Service"
111-
cat > /opt/run_web-check.sh << 'EOF'
111+
cat <<'EOF' > /opt/run_web-check.sh
112112
#!/bin/bash
113113
SCREEN_RESOLUTION="1280x1024x24"
114114
if ! systemctl is-active --quiet dbus; then
@@ -122,7 +122,7 @@ cd /opt/web-check
122122
exec yarn start
123123
EOF
124124
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
126126
[Unit]
127127
Description=Web Check Service
128128
After=network.target

0 commit comments

Comments
 (0)