summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-24 13:06:19 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-24 13:06:19 +0100
commit260d6d41a7eab55a051a5a8497f7bae2c9538006 (patch)
tree817b72770400555a51bf8f80a857cf46052403a5 /custom
parentb948a2688a1a5f570fdb56b44a921194080fed52 (diff)
downloadnixos-260d6d41a7eab55a051a5a8497f7bae2c9538006.tar
nixos-260d6d41a7eab55a051a5a8497f7bae2c9538006.tar.gz
nixos-260d6d41a7eab55a051a5a8497f7bae2c9538006.tar.bz2
nixos-260d6d41a7eab55a051a5a8497f7bae2c9538006.tar.xz
nixos-260d6d41a7eab55a051a5a8497f7bae2c9538006.zip
better backup dirs
Diffstat (limited to 'custom')
-rw-r--r--custom/simp_le.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix
index 7478bcbf..686533a6 100644
--- a/custom/simp_le.nix
+++ b/custom/simp_le.nix
@@ -7,7 +7,7 @@ domain:
7 7
8let 8let
9 script = writeText "${domain}.sh" '' 9 script = writeText "${domain}.sh" ''
10 backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-${domain} 10 backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-$$-${domain}
11 mkdir -p ${dir} 11 mkdir -p ${dir}
12 cd ${dir} 12 cd ${dir}
13 mkdir -p $backupDir 13 mkdir -p $backupDir