diff options
-rw-r--r-- | custom/simp_le.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 30341179..45d7a5ca 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix | |||
@@ -8,8 +8,6 @@ domain: | |||
8 | 8 | ||
9 | let | 9 | let |
10 | script = writeText "${domain}.sh" '' | 10 | script = writeText "${domain}.sh" '' |
11 | #!${bash}/bin/bash | ||
12 | |||
13 | mkdir -p ${dir} | 11 | mkdir -p ${dir} |
14 | cd ${dir} | 12 | cd ${dir} |
15 | mkdir -p /root/ssl_archive/$(date +'%Y-%m-%d')-${domain} | 13 | mkdir -p /root/ssl_archive/$(date +'%Y-%m-%d')-${domain} |
@@ -25,4 +23,4 @@ let | |||
25 | [[ -e key.pem ]] && ln -s -f key.pem privkey.pem | 23 | [[ -e key.pem ]] && ln -s -f key.pem privkey.pem |
26 | ''; | 24 | ''; |
27 | in | 25 | in |
28 | "${script} 2>&1 | ${eject}/bin/logger -p auth.info" | 26 | "${bash}/bin/bash ${script} 2>&1 | ${eject}/bin/logger -p auth.info" |