diff options
-rw-r--r-- | custom/simp_le.nix | 2 |
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 | ||
8 | let | 8 | let |
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 |