mirror of
https://github.com/Tooloop/Tooloop-Packages.git
synced 2026-04-27 20:41:37 +02:00
update nginx description, removed old files
This commit is contained in:
@@ -8,7 +8,9 @@ Name: Dethleffs Touch-Kiosk
|
|||||||
Depends: nginx, php-fpm, php-mbstring, php-curl, php-xml, php-gd
|
Depends: nginx, php-fpm, php-mbstring, php-curl, php-xml, php-gd
|
||||||
Recommends: tooloop-transparent-cursor
|
Recommends: tooloop-transparent-cursor
|
||||||
Description: Installs the nginx webserver for web-based presentations
|
Description: Installs the nginx webserver for web-based presentations
|
||||||
[nginx](https://nginx.org) is a fast and lightweight webserver.
|
[nginx](https://nginx.org) is a fast and lightweight webserver.
|
||||||
The document root for your website is ```/assets/data```.
|
.
|
||||||
Use this address in your kiosk application ```http://127.0.0.1:8080```.
|
The document root for your website is ```/assets/data```, log files are stored
|
||||||
|
in ```/assets/logs```.</br>
|
||||||
|
Use this URL in your kiosk application ```http://127.0.0.1:8080```.
|
||||||
Thumbnail: nginx-thumbnail.png
|
Thumbnail: nginx-thumbnail.png
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
URL="http://127.0.0.1:8080"
|
|
||||||
|
|
||||||
# List of Chromium Command Line Switches
|
|
||||||
# https://peter.sh/experiments/chromium-command-line-switches/
|
|
||||||
|
|
||||||
COMMAND="chromium-browser \
|
|
||||||
--kiosk \
|
|
||||||
--bwsi \
|
|
||||||
--overscroll-history-navigation=1 \
|
|
||||||
--incognito \
|
|
||||||
--disable-features=Translate,Infobars \
|
|
||||||
--no-default-browser-check \
|
|
||||||
--no-first-run \
|
|
||||||
--noerrdialogs \
|
|
||||||
--num-raster-threads=8 \
|
|
||||||
--enable-zero-copy \
|
|
||||||
--class=TooloopKiosk \
|
|
||||||
$URL"
|
|
||||||
|
|
||||||
if [ $EUID == 0 ]; then
|
|
||||||
pkill chrome
|
|
||||||
sleep 0.1
|
|
||||||
su tooloop -c "$COMMAND" &
|
|
||||||
else
|
|
||||||
pkill chrome
|
|
||||||
sleep 0.1
|
|
||||||
$COMMAND &
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
pkill chrome &
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
Reference in New Issue
Block a user