|
|
3 年 前 | |
|---|---|---|
| .. | ||
| Makefile | 3 年 前 | |
| Readme.md | 3 年 前 | |
| centos-user-mode.unit | 3 年 前 | |
| playwright.unit | 3 年 前 | |
These are tested on ubuntu and centos, but should generally work on similar distros. Contributions welcome for other distros and init systems.
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.
Make playwright_server reload on HUP
Make playwright_server have superdaemon functionality (see issue #52)