diff --git a/Systemd.md b/Systemd.md index 5b0e32a..35814a3 100644 --- a/Systemd.md +++ b/Systemd.md @@ -15,13 +15,22 @@ Wants=network.target [Service] Type=simple + User=aquatic Group=aquatic + +# Handling torrents with a large number of files +# * if you encounter issues such as: +# "Error opening '/path/to/file' in read/write mode. +# LimitNOFILE=65536 + # Uncomment for debug # Environment="RUST_LOG=debug" # Environment="NO_COLOR=1" + # Uncomment if some service starting with delay # ExecStartPre=/bin/sleep 60 + ExecStart=/usr/local/bin/aquatic-crawler\ --infohash=/path/to/aquatic/hash.bin\ --tracker=udp://[302:68d0:f0d5:b88d::fdb]:6969\