aboutsummaryrefslogtreecommitdiff
path: root/nginx-preread-deploy.sh
diff options
context:
space:
mode:
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