George Baugh 1ab18b6cc0 Fix #51: add host option to connect to remote hosts 1 рік тому
..
Makefile 1ab18b6cc0 Fix #51: add host option to connect to remote hosts 1 рік тому
Readme.md 1ab18b6cc0 Fix #51: add host option to connect to remote hosts 1 рік тому
centos-user-mode.unit 1ab18b6cc0 Fix #51: add host option to connect to remote hosts 1 рік тому
playwright.unit 1ab18b6cc0 Fix #51: add host option to connect to remote hosts 1 рік тому

Readme.md

SystemD service files

These are tested on ubuntu and centos, but should generally work on similar distros. Contributions welcome for other distros and init systems.

Setting up

This assumes you have already nvm install and nvm use node on your desired node version. The node binary used at the time you run the makefile will be hardcoded into playwright_server.

Run PORT=6969 make install-service and things should "just work (TM)". Replace port as appropriate.

Manage service with systemctl --user $VERB playwright where $VERB is reload, restart, stop et cetera.

TODO

Make playwright_server reload on HUP

Make playwright_server have superdaemon functionality (see issue #52)