diff --git a/Systemd.md b/Systemd.md index 701aced..9574a71 100644 --- a/Systemd.md +++ b/Systemd.md @@ -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)) \ No newline at end of file +* 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 \ No newline at end of file