]> infiniteadaptability.org Git - seeder/commitdiff
minor fixes
authoralex <[email protected]>
Tue, 29 Jun 2021 20:12:08 +0000 (13:12 -0700)
committeralex <[email protected]>
Tue, 29 Jun 2021 20:13:29 +0000 (13:13 -0700)
added explicit default listen interfaces
added support for user agent being broadcast
updated README.txt with usage fix

README.txt
seederd/src/main.cpp

index eb30f6171718398634d59c7e07dfa3774e655b7f..84ea4ac392cb5442b6aefccdd1c61b2a4647d031 100644 (file)
@@ -17,8 +17,10 @@ valgrind
 
 To Build+Install:
 autoreconf -vif
-./configure
+./configure SEEDER_DOMAIN=[DOMAIN]
 make
 make install
 systemctl enable seederd
 systemctl start seederd
+
+Additional options for configuration can be seen by `./configure --help`.
index 99103e1b58811a34ab3835191bebcaf5a704f991..35fb8d5b9376d7ea9c2b2aabc6c8d485e3ad450b 100644 (file)
@@ -38,6 +38,8 @@ int main(int argc, char **argv) try {
        lt::high_performance_seed(settings);
        settings.set_int(lt::settings_pack::active_seeds,-1);
        settings.set_int(lt::settings_pack::active_limit,-1);
+       settings.set_str(lt::settings_pack::listen_interfaces,"0.0.0.0:6881,[::]:6881");
+       settings.set_str(lt::settings_pack::user_agent,PACKAGE_STRING);
 //     settings.set_int(lt::settings_pack::alert_mask,(lt::alert::session_log_notification + lt::alert::torrent_log_notification));
        lt::session session(settings);