diff --git a/html/videos.html b/html/videos.html index 37e95c5..2bf73f3 100644 --- a/html/videos.html +++ b/html/videos.html @@ -1,9 +1,4 @@

Videos

- -
-

Videos

-
-
diff --git a/jrtechsvideos.service b/jrtechsvideos.service new file mode 100644 index 0000000..42231d3 --- /dev/null +++ b/jrtechsvideos.service @@ -0,0 +1,21 @@ +# File Location /lib/systemd/system +# +# After file creation run: systemctl daemon-reload +# enable service on start up: systemctl enable jrtechsvideos.service +# start the service: systemctl start jrtechsvideos + + +[Unit] +Description=Videos site for jrtechs +Documentation=https://videos.jrtechs.net +After=network.target + +[Service] +Type=simple +User=jeff +WorkingDirectory=/var/www/video.jrtechs.net/HomeBrewPlex +ExecStart=/bin/bash /var/www/video.jrtechs.net/HomeBrewPlex/run.sh +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/routes/icon.js b/routes/icon.js index 6547715..21505b9 100644 --- a/routes/icon.js +++ b/routes/icon.js @@ -36,7 +36,6 @@ routes.get('/', (request, result) => } else { - console.log("reading ./icon/public/" + name); file = fs.readFileSync("./icon/public/" + name); }