blob: 4f06f9412e1a8df0023805d2fffd65b210462502 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
set -u
event="$1"
# Call hotplug first, giving scripts a chance to modify certificates before
# reloadaing the services
ACTION=$event hotplug-call acme
case $event in
renewed)
ubus call service event '{"type":"acme.renew","data":{}}'
;;
issued)
ubus call service event '{"type":"acme.issue","data":{}}'
;;
esac
|