aboutsummaryrefslogtreecommitdiff
path: root/net/nginx/files
diff options
context:
space:
mode:
authorGlen Huang <heyhgl@gmail.com>2022-01-29 20:54:35 +0800
committerToke Høiland-Jørgensen <toke@toke.dk>2022-08-16 00:32:04 +0200
commite84f6514538f0638507ce8066f801374db6f4150 (patch)
tree9274e85ce94512361980aade53f6b0864b819574 /net/nginx/files
parentb02fea131b7fe0de5bf5132e2e3104eb343aa06f (diff)
acme: use the hotplug system
Signed-off-by: Glen Huang <heyhgl@gmail.com>
Diffstat (limited to 'net/nginx/files')
-rw-r--r--net/nginx/files/acme.hotplug3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/nginx/files/acme.hotplug b/net/nginx/files/acme.hotplug
new file mode 100644
index 000000000..74f1448d7
--- /dev/null
+++ b/net/nginx/files/acme.hotplug
@@ -0,0 +1,3 @@
+if [ "$ACTION" = renewed ]; then
+ /etc/init.d/nginx reload
+fi