diff --git a/files/core.conf b/files/core.conf new file mode 100644 index 0000000..f05039b --- /dev/null +++ b/files/core.conf @@ -0,0 +1,95 @@ +{ + "file": 1, + "format": 1 +}{ + "add_paused": false, + "allow_remote": false, + "auto_manage_prefer_seeds": false, + "auto_managed": true, + "cache_expiry": 60, + "cache_size": 512, + "copy_torrent_file": true, + "daemon_port": 58846, + "del_copy_torrent_file": false, + "dht": true, + "dont_count_slow_torrents": false, + "download_location": "/mnt/deluge/dlownloading", + "download_location_paths_list": [], + "enabled_plugins": [], + "enc_in_policy": 1, + "enc_level": 2, + "enc_out_policy": 1, + "geoip_db_location": "/usr/share/GeoIP/GeoIP.dat", + "ignore_limits_on_local_network": true, + "info_sent": 0.0, + "listen_interface": "", + "listen_ports": [ + 6881, + 6891 + ], + "listen_random_port": null, + "listen_reuse_port": true, + "listen_use_sys_port": false, + "lsd": true, + "max_active_downloading": 5, + "max_active_limit": 250, + "max_active_seeding": 250, + "max_connections_global": 200, + "max_connections_per_second": 20, + "max_connections_per_torrent": -1, + "max_download_speed": -1.0, + "max_download_speed_per_torrent": -1, + "max_half_open_connections": 50, + "max_upload_slots_global": 4, + "max_upload_slots_per_torrent": -1, + "max_upload_speed": -1.0, + "max_upload_speed_per_torrent": -1, + "move_completed": true, + "move_completed_path": "/mnt/deluge/seeding", + "move_completed_paths_list": [], + "natpmp": true, + "new_release_check": true, + "outgoing_interface": "", + "outgoing_ports": [ + 0, + 0 + ], + "path_chooser_accelerator_string": "Tab", + "path_chooser_auto_complete_enabled": true, + "path_chooser_max_popup_rows": 20, + "path_chooser_show_chooser_button_on_localhost": true, + "path_chooser_show_hidden_files": false, + "peer_tos": "0x00", + "plugins_location": "/srv/deluge/.config/deluge/plugins", + "pre_allocate_storage": false, + "prioritize_first_last_pieces": false, + "proxy": { + "anonymous_mode": false, + "force_proxy": false, + "hostname": "", + "password": "", + "port": 8080, + "proxy_hostnames": true, + "proxy_peer_connections": true, + "proxy_tracker_connections": true, + "type": 0, + "username": "" + }, + "queue_new_to_top": false, + "random_outgoing_ports": true, + "random_port": false, + "rate_limit_ip_overhead": true, + "remove_seed_at_ratio": false, + "seed_time_limit": 180, + "seed_time_ratio_limit": 7.0, + "send_info": false, + "sequential_download": false, + "share_ratio_limit": 2.0, + "shared": false, + "stop_seed_at_ratio": false, + "stop_seed_ratio": 2.0, + "super_seeding": false, + "torrentfiles_location": "/mnt/deluge/torrent_files", + "upnp": true, + "utpex": true +} \ No newline at end of file diff --git a/handlers/main.yml b/handlers/main.yml index 0a2f7a2..2f888a8 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,2 +1,13 @@ --- # handlers file for deluge +- name: restart deluged + service: + name: deluged + state: restarted + listen: restart deluge + +- name: restart deluge-web + service: + name: deluge-web + state: restarted + listen: restart deluge