Skip to content

Instantly share code, notes, and snippets.

@rayros
Created July 10, 2017 00:14
Show Gist options
  • Select an option

  • Save rayros/19dd2108a77451ed7c282da3ccf70f7a to your computer and use it in GitHub Desktop.

Select an option

Save rayros/19dd2108a77451ed7c282da3ccf70f7a to your computer and use it in GitHub Desktop.

Revisions

  1. rayros created this gist Jul 10, 2017.
    12 changes: 12 additions & 0 deletions chromium-browser.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    [Unit]
    Description=chromium-browser headless

    [Service]
    Type=simple
    ExecStart=/usr/bin/chromium-browser --headless --disable-gpu --remote-debugging-port=9222
    StandardOutput=syslog
    StandardError=syslog
    SyslogIdentifier=chromium-browser

    [Install]
    WantedBy=multi-user.target