From eda94ac1e7f56c00f5beb86cc7caa7d4de45fdaa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 9 Oct 2018 10:05:59 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Propellor/Property/SiteSpecific/JoeySites.hs') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 4b3b06ad..cc7d19af 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -1317,3 +1317,9 @@ autoMountDrive label (USBHubPort port) malias = propertyList desc $ props [ "stop " ++ mountpoint , "start " ++ mountpoint ] + +rsyncNetBorgRepo :: String -> Borg.BorgRepo +rsyncNetBorgRepo d = Borg.BorgRepoUsing + -- rsync.net has a newer borg here + [ Borg.UsesEnvVar ("BORG_REMOTE_PATH", "borg1") + ] ("2318@usw-s002.rsync.net:" ++ d) -- cgit v1.2.3