From f969cd9d3b82d8c7321a9efb4ca39e03b3b0db95 Mon Sep 17 00:00:00 2001 From: oooo-ps Date: Tue, 5 Aug 2025 23:53:50 +0300 Subject: [PATCH] Updated Systemd (markdown) --- Systemd.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Systemd.md b/Systemd.md index 5613007..faaebea 100644 --- a/Systemd.md +++ b/Systemd.md @@ -7,6 +7,7 @@ Wants=network.target Type=simple User=btracker Group=btracker +WorkingDirectory=/path/to/www ExecStart=/usr/local/bin/btracker\ --storage=/path/to/aquatic-crawler/preload\ --link=http://[302:68d0:f0d5:b88d::fdb]\ @@ -16,4 +17,5 @@ StandardError=file:/path/to/error.log [Install] WantedBy=multi-user.target -``` \ No newline at end of file +``` +* The `WorkingDirectory` path should contain the project `templates` dir ([details](https://rocket.rs/guide/v0.5/deploying/#deploying)) \ No newline at end of file