aboutsummaryrefslogtreecommitdiff
path: root/nginx-preread-deploy.sh
diff options
context:
space:
mode:
authorArun Isaac2023-08-10 15:16:32 +0100
committerArun Isaac2023-08-10 16:52:24 +0100
commita3e084ec9c640da649dd35e991e9e5f343fcd1e2 (patch)
tree7acbd46bb289751eb3ef65ec35a75b74c52b6722 /nginx-preread-deploy.sh
parent2f5329cea2a3c0b62373279114e207568e2820b6 (diff)
downloadgn-machines-a3e084ec9c640da649dd35e991e9e5f343fcd1e2.tar.gz
Add nginx package with the ssl_preread module.
* nginx-preread.scm, nginx-preread-deploy.sh: New files.
Diffstat (limited to 'nginx-preread-deploy.sh')
-rwxr-xr-xnginx-preread-deploy.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/nginx-preread-deploy.sh b/nginx-preread-deploy.sh
new file mode 100755
index 0000000..2afa681
--- /dev/null
+++ b/nginx-preread-deploy.sh
@@ -0,0 +1,7 @@
+#! /bin/sh -e
+
+nginx=$(guix build -f nginx-preread.scm)
+
+echo $nginx
+sudo ln --no-target-directory --force --symbolic $nginx/sbin/nginx /usr/local/sbin/nginx
+sudo ln --force --symbolic /usr/local/sbin/nginx /var/guix/gcroots