Skip to content
Snippets Groups Projects
Commit f7c5a662 authored by Bob Mottram's avatar Bob Mottram
Browse files

Show sync commands for rsync

parent 5ca8bf34
No related branches found
No related tags found
No related merge requests found
......@@ -857,6 +857,11 @@ function web_admin_create_installed_apps_category {
else
domain_name="http://${onion_domain_name}"
fi
if [[ "$app_name" == 'rsync' ]]; then
RSYNC_HOSTNAME_ONION=$(cat /var/lib/tor/hidden_service_rsync/hostname)
domain_name="torsocks rsync -avmr $RSYNC_HOSTNAME_ONION::files ~/your_directory/ && torsocks rsync -avmr ~/your_directory/ $RSYNC_HOSTNAME_ONION::files<br><br>rsync -avmr ${PROJECT_NAME}::files ~/your_directory/ && rsync -avmr ~/your_directory/ ${PROJECT_NAME}::files"
fi
fi
if [ $installed_apps_ctr -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment