From e137146f7a8774cc8e25064e197fb57e2e2a9940 Mon Sep 17 00:00:00 2001 From: oooo-ps Date: Tue, 9 Sep 2025 16:35:52 +0300 Subject: [PATCH] Created Systemd (markdown) --- Systemd.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Systemd.md diff --git a/Systemd.md b/Systemd.md new file mode 100644 index 0000000..1598b42 --- /dev/null +++ b/Systemd.md @@ -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 +``` \ No newline at end of file