aboutsummaryrefslogtreecommitdiff
path: root/files/sync-media
diff options
context:
space:
mode:
Diffstat (limited to 'files/sync-media')
-rw-r--r--files/sync-media2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-media b/files/sync-media
index c14510d..904adc0 100644
--- a/files/sync-media
+++ b/files/sync-media
@@ -5,9 +5,9 @@
REMOTE="$1"
VOLUME="/media/$REMOTE"
-CACHE="/var/cache/media"
DOMAIN="`facter domain`"
HOST="`facter hostname`"
+CACHE="/var/cache/$HOST/media"
MEDIA="media.$DOMAIN"
INCOMING="$CACHE/incoming"
WHOAMI="`whoami`"