fix: Removes firefox service

This commit is contained in:
Vincent Mahnke 2025-12-18 18:27:32 +01:00
commit 74407287b7
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -54,24 +54,6 @@ tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF'
} }
EOF EOF
chown -R kiosk:kiosk /home/kiosk/.config chown -R kiosk:kiosk /home/kiosk/.config
# tee /etc/systemd/system/firefox-kiosk.service > /dev/null <<'EOF'
# [Unit]
# Description=Firefox Kiosk
# After=graphical.target
# Wants=graphical.target
# [Service]
# User=kiosk
# Type=simple
# ExecStart=/usr/bin/firefox --kiosk https://c3nav.ke
# Restart=always
# RestartSec=5
# Environment=DISPLAY=:0
# [Install]
# WantedBy=graphical.target
# EOF
# systemctl enable firefox-kiosk.service
tee /home/kiosk/.bash_profile > /dev/null <<'EOF' tee /home/kiosk/.bash_profile > /dev/null <<'EOF'
if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then