Fixes to get scripts working on Intel Compute Stick
This commit is contained in:
parent
57f88c41ee
commit
72cf9a8146
2
deploy.sh
Normal file → Executable file
2
deploy.sh
Normal file → Executable file
@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
echo "🚀 Starting kiosk deployment..."
|
echo "🚀 Starting kiosk deployment..."
|
||||||
|
|
||||||
REPO_DIR="/home/pi/kiosk"
|
REPO_DIR="/home/chris/projects/ClubhouseDisplays"
|
||||||
SYSTEMD_DIR="/etc/systemd/system"
|
SYSTEMD_DIR="/etc/systemd/system"
|
||||||
|
|
||||||
# Make sure we are in the repo directory
|
# Make sure we are in the repo directory
|
||||||
|
|||||||
@ -3,10 +3,10 @@ Description=Kiosk Mode Slideshow
|
|||||||
After=graphical.target network.target
|
After=graphical.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/home/pi/kiosk/start-kiosk.sh
|
ExecStart=/home/chris/projects/ClubhouseDisplays/start-kiosk.sh
|
||||||
User=pi
|
User=pi
|
||||||
Group=pi
|
Group=pi
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical.target
|
WantedBy=graphical.target
|
||||||
|
|||||||
2
start-kiosk.sh
Normal file → Executable file
2
start-kiosk.sh
Normal file → Executable file
@ -4,4 +4,4 @@
|
|||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
# Launch Chromium in kiosk mode
|
# Launch Chromium in kiosk mode
|
||||||
/usr/bin/chromium-browser --kiosk "file:///home/pi/kiosk/site/index.html"
|
/usr/bin/chromium-browser --kiosk "file:///home/chris/projects/ClubhouseDisplays/site/index.html"
|
||||||
|
|||||||
0
update-kiosk.sh
Normal file → Executable file
0
update-kiosk.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user