diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 12:46:23 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 12:46:23 +0100 |
commit | fccd19527d271d8c323860e45f4337abd6398dc8 (patch) | |
tree | 3135b3ea1fd8f2f4d81efb90f1b606d7a1405b6e | |
parent | a2b53ca94318207687dabc033e6b346088711d25 (diff) | |
download | nixos-fccd19527d271d8c323860e45f4337abd6398dc8.tar nixos-fccd19527d271d8c323860e45f4337abd6398dc8.tar.gz nixos-fccd19527d271d8c323860e45f4337abd6398dc8.tar.bz2 nixos-fccd19527d271d8c323860e45f4337abd6398dc8.tar.xz nixos-fccd19527d271d8c323860e45f4337abd6398dc8.zip |
shebang wont work
-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" |