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