Created Systemd (markdown)

oooo-ps 2025-09-09 16:35:52 +03:00
parent 2129df2c3f
commit e137146f7a

23
Systemd.md Normal file

@ -0,0 +1,23 @@
``` /etc/systemd/system/btracker-gemini.service
#/etc/systemd/system/btracker-gemini.service
[Unit]
After=network.target
Wants=network.target
[Service]
Type=simple
User=btracker
Group=btracker
Environment="RUST_LOG=trace"
Environment="NO_COLOR=1"
ExecStart=/usr/local/bin/btracker-gemini\
-i=/path/to/server.pfx\
-s=/path/to/btracker-fs\
-b=[xxx:xxxx:xxxx:xxxx::xx]:1965\
-t=udp://[xxx:xxxx:xxxx:xxxx::xx]:6969
StandardOutput=file:///path/to/debug.log
StandardError=file:///path/to/error.log
[Install]
WantedBy=multi-user.target
```