From a3f93cf71922a7aae7ca64861ebfd82319f2c776 Mon Sep 17 00:00:00 2001 From: oooo-ps Date: Fri, 8 Aug 2025 14:40:47 +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 7f0b3d0..3f25d84 100644 --- a/Systemd.md +++ b/Systemd.md @@ -17,6 +17,8 @@ Wants=network.target Type=simple User=aquatic Group=aquatic +# Uncomment for debug +# Environment="RUST_LOG=debug" # Uncomment if some service starting with delay # ExecStartPre=/bin/sleep 60 ExecStart=/usr/local/bin/aquatic-crawler\ @@ -25,7 +27,7 @@ ExecStart=/usr/local/bin/aquatic-crawler\ --preload=/home/btracker/aquatic-crawler/yggdrasil/preload\ --preload-max-filesize=500000\ --preload-max-filecount=1\ - --preload-regex="(png|gif|jpeg|jpg|webp)$"\ + --preload-regex="\.(png|gif|jpeg|jpg|webp)$"\ --sleep=900 StandardOutput=file:/home/aquatic/crawler-debug.log StandardError=file:/home/aquatic/crawler-error.log