mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 09:05:30 +00:00
9
Systemd
oooo-ps edited this page 2025-08-10 07:55:26 +03:00
[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
WorkingDirectorypath should contain the projectpublicandtemplatesdirs (details)- the
publicis usually aquatic-crawlerpreloaddirectory, placed intoWorkingDirectory
- the
--canonical-urlargument is skipped in the example but is highly recommended by the RSS feed specification