feat: Aktualisierung der Datenbankdateien und Verbesserung der Datumsformatierung in den Templates für eine konsistentere Benutzeroberfläche
This commit is contained in:
37
backend/install/myp-kiosk.service
Normal file
37
backend/install/myp-kiosk.service
Normal file
@@ -0,0 +1,37 @@
|
||||
[Unit]
|
||||
Description=MYP Kiosk Mode (Chrome Vollbild)
|
||||
Documentation=https://github.com/myp-project/kiosk
|
||||
After=graphical-session.target myp-backend.service
|
||||
Wants=graphical-session.target
|
||||
Requires=myp-backend.service
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=myp
|
||||
Group=myp
|
||||
Environment=DISPLAY=:0
|
||||
Environment=XAUTHORITY=/home/myp/.Xauthority
|
||||
WorkingDirectory=/home/myp
|
||||
ExecStartPre=/bin/sleep 10
|
||||
ExecStartPre=/usr/bin/xset -dpms
|
||||
ExecStartPre=/usr/bin/xset s off
|
||||
ExecStartPre=/usr/bin/xset s noblank
|
||||
ExecStart=/opt/myp/scripts/kiosk-start.sh
|
||||
ExecStop=/usr/bin/pkill -f "google-chrome.*kiosk"
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
TimeoutStartSec=30
|
||||
TimeoutStopSec=10
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=myp-kiosk
|
||||
|
||||
# Sicherheitseinstellungen
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectHome=false
|
||||
ProtectSystem=true
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
Reference in New Issue
Block a user