Created
March 7, 2018 21:21
-
-
Save nillia/b7213cd1c190ee9f7c3f770efb7207bb to your computer and use it in GitHub Desktop.
Chrome headless (with debug in 9222) Systemd service
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=Run an instance of Chrome headless with debug in 9222 | |
[Service] | |
Type=simple | |
Restart=always | |
ProtectSystem=full | |
DynamicUser=true | |
ExecStart=/usr/bin/google-chrome --headless --disable-gpu --remote-debugging-port=9222 | |
Environment=HOME=/tmp | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment