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