mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 09:05:30 +00:00
Updated Systemd (markdown)
parent
0a6080ec58
commit
acbe915fd0
1 changed files with 5 additions and 3 deletions
|
|
@ -7,9 +7,9 @@ Wants=network.target
|
|||
Type=simple
|
||||
User=btracker
|
||||
Group=btracker
|
||||
WorkingDirectory=/path/to/static-and-templates
|
||||
WorkingDirectory=/path/to/public-and-templates
|
||||
ExecStart=/usr/local/bin/btracker\
|
||||
--preload=/path/to/aquatic-crawler/preload\
|
||||
--public=./public\
|
||||
--tracker=udp://[302:68d0:f0d5:b88d::fdb]:6969\
|
||||
--tracker=udp://tracker.ygg:6969
|
||||
StandardOutput=file:/path/to/debug.log
|
||||
|
|
@ -18,4 +18,6 @@ StandardError=file:/path/to/error.log
|
|||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
* The `WorkingDirectory` path should contain the project `static` and `templates` dirs ([details](https://rocket.rs/guide/v0.5/deploying/#deploying))
|
||||
* the `WorkingDirectory` path should contain the project `public` and `templates` dirs ([details](https://rocket.rs/guide/v0.5/deploying/#deploying))
|
||||
* the `public` is usually [aquatic-crawler](https://github.com/YGGverse/aquatic-crawler) `preload` directory, placed to `WorkingDirectory`
|
||||
* `--canonical-url` argument is skipped in the example but is highly recommended by the RSS feed specification
|
||||
Loading…
Add table
Add a link
Reference in a new issue