Skip to content

Systemd

oooo-ps edited this page Aug 10, 2025 · 9 revisions
[Unit]
After=network.target
Wants=network.target

[Service]
Type=simple
User=btracker
Group=btracker
WorkingDirectory=/path/to/public-and-templates
ExecStart=/usr/local/bin/btracker\
        --public=./public\
        --tracker=udp://[302:68d0:f0d5:b88d::fdb]:6969\
        --tracker=udp://tracker.ygg:6969
# https://github.com/rwf2/Rocket/issues/2951
# StandardOutput=file:/path/to/debug.log
StandardOutput=null
StandardError=file:/path/to/error.log

[Install]
WantedBy=multi-user.target
  • the WorkingDirectory path should contain the project public and templates dirs (details)
    • the public is usually aquatic-crawler preload directory, placed into WorkingDirectory
  • --canonical-url argument is skipped in the example but is highly recommended by the RSS feed specification
Clone this wiki locally