Updated Systemd (markdown)

oooo-ps 2025-07-08 23:37:11 +03:00
parent b987b0c3b6
commit d4f5214f87

@ -17,8 +17,14 @@ Wants=network-online.target
Type=simple
User=aquatic
Group=aquatic
ExecStartPre=/bin/sleep 10
ExecStart=/usr/local/bin/aquatic-crawler --infohash=/path/to/ipv6hash.bin --infohash=/path/to/ipv4hash.bin --tracker=udp://host1:port --export-rss=/path/to/rss.xml --export-trackers --enable-tcp
# Uncomment if some service starting with delay
# ExecStartPre=/bin/sleep 60
ExecStart=/usr/local/bin/aquatic-crawler\
--infohash=/var/www/aquatic/hash.bin\
--tracker=udp://[302:68d0:f0d5:b88d::fdb]:6969\
--export-rss=/var/www/aquatic/rss.xml\
--export-trackers\
--enable-tcp
StandardOutput=file:/home/aquatic/crawler-debug.log
StandardError=file:/home/aquatic/crawler-error.log