[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: bayfront: Fix nginx certbot deploy hook.
From: |
Ludovic Courtès |
Subject: |
01/01: bayfront: Fix nginx certbot deploy hook. |
Date: |
Mon, 16 Sep 2019 10:56:21 -0400 (EDT) |
civodul pushed a commit to branch master
in repository maintenance.
commit 34bf67b2e88d0ea36281123656f7e35738502fee
Author: Ludovic Courtès <address@hidden>
Date: Mon Sep 16 16:54:28 2019 +0200
bayfront: Fix nginx certbot deploy hook.
* hydra/bayfront.scm (%nginx-deploy-hook): Change PID file name to match
that in 'nginx/bayfront.conf'.
---
hydra/bayfront.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 0e7deff..596eb52 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -60,7 +60,7 @@
(define %nginx-deploy-hook
;; Hook that restarts nginx when a new certificate is deployed.
(program-file "nginx-deploy-hook"
- #~(let ((pid (call-with-input-file "/var/run/nginx/pid"
+ #~(let ((pid (call-with-input-file "/var/run/nginx.pid"
read)))
(kill pid SIGHUP))))