docker-sync 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e67f02c36cce31164bf4f9afec2a3e69c47cf3bd
|
4
|
+
data.tar.gz: 136018fec5f98c61aab0f4a6041f8e7e3a243546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e1b254b1db4b8d217461671a5e071fa8db7a36c14f041f9ed0da65afe273d947eca3bfa027f62f169148bd8a63b3d1895f4fd3d2f95e20a12d416c4b1f5f52
|
7
|
+
data.tar.gz: a2158a9ea86617d859dfb5a35152b38c0bb40327b9c5c3ae5f34a5a9243beab05793a4720e160c9562b03888a317e13760f8cee161fa13d04406e90fe9c38177
|
@@ -60,6 +60,7 @@ module Docker_Sync
|
|
60
60
|
#args.push("--groupmap='*:#{@options['sync_group']}'") if @options.key?('sync_group')
|
61
61
|
args.push("#{@options['src']}/") # add a trailing slash
|
62
62
|
args.push("rsync://#{@options['sync_host_ip']}:#{@options['sync_host_port']}/volume")
|
63
|
+
return args
|
63
64
|
end
|
64
65
|
|
65
66
|
# starts a rsync docker container listening on the specific port
|
@@ -67,6 +67,7 @@ module Docker_Sync
|
|
67
67
|
if @options.key?('sync_user') || @options.key?('sync_group') || @options.key?('sync_groupid') || @options.key?('sync_userid')
|
68
68
|
raise('Unison does not support sync_user, sync_group, sync_groupid or sync_userid - please use rsync if you need that')
|
69
69
|
end
|
70
|
+
return args
|
70
71
|
end
|
71
72
|
|
72
73
|
def start_container
|