Provide reference Systemd unit file. Resolves #72

This commit is contained in:
ngosang
2021-05-30 12:16:34 +02:00
parent 2f9fe05a76
commit 805a34c9d6
3 changed files with 28 additions and 2 deletions

View File

@@ -67,13 +67,17 @@ This is the recommended way for Windows users.
### From source code
This is the recommended way for MacOS users and for developers.
This is the recommended way for macOS users and for developers.
* Install [NodeJS](https://nodejs.org/)
* Clone this repository and open a shell in that path
* Run `npm install` command to install FlareSolverr dependencies
* Run `npm run build` command to compile TypeScript code
* Run `npm start` command to start FlareSolverr
### Systemd service
We provide an example Systemd unit file `flaresolverr.service` as reference. You have to modify the file to suit your needs: paths, user and environment variables.
## Usage
Example request: