From acbe915fd094bf4b153a7c9acd0711fde699f6fe Mon Sep 17 00:00:00 2001 From: oooo-ps Date: Sun, 10 Aug 2025 02:34:33 +0300 Subject: [PATCH] Updated Systemd (markdown) --- Systemd.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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