-
-
Notifications
You must be signed in to change notification settings - Fork 0
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 projectpublic
andtemplates
dirs (details)- the
public
is usually aquatic-crawlerpreload
directory, placed intoWorkingDirectory
- the
-
--canonical-url
argument is skipped in the example but is highly recommended by the RSS feed specification