Meu objetivo é executar várias instâncias do daemon do deluge (web) para usar vários usuários no mesmo servidor.
Eu tentei o seguinte, mas não dá resultado:
systemctl stop deluge-web
vi /var/lib/deluge/.config/deluge/core.conf
core.conf Eu mudo
"allow_remote": false,
para
"allow_remote": true,
Eu faço uma cópia do dilúvio dir
cp -R /var/lib/deluge/.config/deluge /var/lib/deluge/.config/deluge1
vi /var/lib/deluge/.config/deluge1/core.conf
No novo core.conf , eu aumento a porta em 1
"daemon_port": 58847,
E eu tento correr com
deluged -c /var/lib/deluge/.config/deluge1 -p 58847
e me jogue esse erro
[ERROR ] 11:27:48 main:243 There is a deluge daemon running with this config directory! [ERROR ] 11:27:48 main:244 You cannot run multiple daemons with the same config directory set. [ERROR ] 11:27:48 main:245 If you believe this is an error, you can force a start by deleting /var/lib/deluge/.config/deluge1/deluged.pid.
Se eu excluir o deluge.pid, recebo
[ERROR ] 11:28:38 rpcserver:378 Couldn't listen on any:58847: [Errno 98] Adresse déjà utilisée. [ERROR ] 11:28:38 rpcserver:378 Couldn't listen on any:58847: [Errno 98] Adresse déjà utilisée.
Aqui está o meu core.conf de dilúvio1 dir
{
"file": 1,
"format": 1
}{
"info_sent": 0.0,
"lsd": true,
"max_download_speed": -1.0,
"send_info": false,
"natpmp": true,
"move_completed_path": "/var/lib/deluge/Downloads",
"peer_tos": "0x00",
"enc_in_policy": 1,
"queue_new_to_top": false,
"ignore_limits_on_local_network": true,
"rate_limit_ip_overhead": true,
"daemon_port": 58847,
"torrentfiles_location": "/var/lib/deluge/Downloads",
"max_active_limit": 8,
"geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
"upnp": true,
"utpex": true,
"max_active_downloading": 3,
"max_active_seeding": 5,
"allow_remote": true,
"outgoing_ports": [
0,
0
],
"enabled_plugins": [],
"max_half_open_connections": 50,
"download_location": "/var/lib/deluge/Downloads",
"compact_allocation": false,
"max_upload_speed": -1.0,
"plugins_location": "/var/lib/deluge/.config/deluge/plugins",
"max_connections_global": 200,
"enc_prefer_rc4": true,
"cache_expiry": 60,
"dht": true,
"stop_seed_at_ratio": false,
"stop_seed_ratio": 2.0,
"max_download_speed_per_torrent": -1,
"prioritize_first_last_pieces": false,
"max_upload_speed_per_torrent": -1,
"auto_managed": true,
"enc_level": 2,
"copy_torrent_file": false,
"max_connections_per_second": 20,
"listen_ports": [
6881,
6891
],
"max_connections_per_torrent": -1,
"del_copy_torrent_file": false,
"move_completed": false,
"autoadd_enable": false,
"proxies": {
"peer": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
},
"web_seed": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
},
"tracker": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
},
"dht": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
}
},
"dont_count_slow_torrents": false,
"add_paused": false,
"random_outgoing_ports": true,
"max_upload_slots_per_torrent": -1,
"new_release_check": true,
"enc_out_policy": 1,
"seed_time_ratio_limit": 7.0,
"remove_seed_at_ratio": false,
"autoadd_location": "/var/lib/deluge/Downloads",
"max_upload_slots_global": 4,
"seed_time_limit": 180,
"cache_size": 512,
"share_ratio_limit": 2.0,
"random_port": true,
"listen_interface": ""
}