Skip to content

Instantly share code, notes, and snippets.

@gdamjan
Created September 13, 2017 18:28
Show Gist options
  • Save gdamjan/f7e3726d17611ec2c55f73924c0f66f6 to your computer and use it in GitHub Desktop.
Save gdamjan/f7e3726d17611ec2c55f73924c0f66f6 to your computer and use it in GitHub Desktop.
headless chrome systemd service file
[Unit]
Description=headless chrome
[Service]
Type=simple
ProtectSystem=strict
DynamicUser=true
Environment=HOME=/tmp
ExecStart=/usr/bin/google-chrome --headless --disable-gpu --remote-debugging-port=9222
[Install]
WantedBy=multi-user.target
@johnsoncheg
Copy link

nice

@erichanson
Copy link

Cool

@PurHur
Copy link

PurHur commented Jul 12, 2019

Thank you

@homayoonahmadi
Copy link

Great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment