mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-01 01:25:36 +00:00
Updated Systemd (markdown)
parent
b987b0c3b6
commit
d4f5214f87
1 changed files with 8 additions and 2 deletions
10
Systemd.md
10
Systemd.md
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue