mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
Created Systemd (markdown)
parent
e244105736
commit
798e00e505
1 changed files with 19 additions and 0 deletions
19
Systemd.md
Normal file
19
Systemd.md
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
``` /etc/systemd/system/btracker.service
|
||||||
|
[Unit]
|
||||||
|
After=network.target
|
||||||
|
Wants=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=btracker
|
||||||
|
Group=btracker
|
||||||
|
ExecStart=/usr/local/bin/btracker\
|
||||||
|
--storage=/path/to/aquatic-crawler/preload\
|
||||||
|
--link=http://[302:68d0:f0d5:b88d::fdb]\
|
||||||
|
--tracker=udp://[302:68d0:f0d5:b88d::fdb]:6969
|
||||||
|
StandardOutput=file:/path/to/debug.log
|
||||||
|
StandardError=file:/path/to/error.log
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue