chore: Disables firefox service
This commit is contained in:
parent
1974d0b9a9
commit
8538c63c45
1 changed files with 16 additions and 16 deletions
|
|
@ -54,24 +54,24 @@ 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'
|
# tee /etc/systemd/system/firefox-kiosk.service > /dev/null <<'EOF'
|
||||||
[Unit]
|
# [Unit]
|
||||||
Description=Firefox Kiosk
|
# Description=Firefox Kiosk
|
||||||
After=graphical.target
|
# After=graphical.target
|
||||||
Wants=graphical.target
|
# Wants=graphical.target
|
||||||
|
|
||||||
[Service]
|
# [Service]
|
||||||
User=kiosk
|
# User=kiosk
|
||||||
Type=simple
|
# Type=simple
|
||||||
ExecStart=/usr/bin/firefox --kiosk https://mahn.ke
|
# ExecStart=/usr/bin/firefox --kiosk https://c3nav.ke
|
||||||
Restart=always
|
# Restart=always
|
||||||
RestartSec=5
|
# RestartSec=5
|
||||||
Environment=DISPLAY=:0
|
# Environment=DISPLAY=:0
|
||||||
|
|
||||||
[Install]
|
# [Install]
|
||||||
WantedBy=graphical.target
|
# WantedBy=graphical.target
|
||||||
EOF
|
# EOF
|
||||||
systemctl enable firefox-kiosk.service
|
# 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue