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