Created
February 4, 2016 11:58
-
-
Save anonymous/4d7a31a54066e2981012 to your computer and use it in GitHub Desktop.
Shared via Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=browser service | |
After=xserver-xorg.service | |
After=openbox.service | |
Requires=xserver-xorg.service | |
[Service] | |
User=root | |
Type=simple | |
Environment="DISPLAY=:0" | |
ExecStart=\ | |
/usr/bin/google-chrome \ | |
--kiosk \ | |
--url https://172.20.100.99 \ | |
--touch-events=enabled \ | |
--touch-devices=7 \ | |
--overscroll-history-navigation=0 \ | |
--disable-session-crashed-bubble \ | |
--disable-infobars \ | |
--no-first-run \ | |
--disable-translate \ | |
--user-data-dir $HOME | |
RestartSec=1s | |
Restart=always | |
[Install] | |
WantedBy=graphical.target | |
ERRORS: | |
[ 4.404724] systemd[1]: [/lib/systemd/system/openbox.service:3] Unknown lvalue 'Reqires' in section 'Unit' | |
[ 4.428258] systemd[1]: Found ordering cycle on multi-user.target/start | |
[ 4.438798] systemd[1]: Found dependency on chromium.service/start | |
[ 4.448946] systemd[1]: Found dependency on openbox.service/start | |
[ 4.458950] systemd[1]: Found dependency on multi-user.target/start | |
[ 4.469122] systemd[1]: Breaking ordering cycle by deleting job chromium.service/start | |
[ 4.480989] systemd[1]: Job chromium.service/start deleted to break ordering cycle starting with multi-user.target/start | |
[ SKIP ] Ordering cycle found, skipping browser service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment