init commit
This commit is contained in:
25
templates/chrome-app.service
Executable file
25
templates/chrome-app.service
Executable file
@ -0,0 +1,25 @@
|
||||
[Unit]
|
||||
Description={{ kiosk_service_items.service_description }}
|
||||
After=sddm.service
|
||||
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=1s
|
||||
ExecStartPre=/bin/sleep 5
|
||||
ExecStart={{ browser_binary }} \
|
||||
--disable-pinch \
|
||||
--disable-translate \
|
||||
--no-first-run \
|
||||
--ignore-ssl-errors \
|
||||
--disable-usb-keyboard-detect \
|
||||
--window-name {{ kiosk_service_items.service_description }} \
|
||||
--app="{{ kiosk_service_items.chrome_website }}" \
|
||||
{{ kiosk_service_items.extra_chrome_configs}}
|
||||
|
||||
|
||||
{{ kiosk_service_items.extra_service_configs }}
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
|
||||
Reference in New Issue
Block a user