summaryrefslogtreecommitdiff
path: root/acme2certifier/acme2certifier.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-29 08:50:56 +0200
committerErich Eckner <git@eckner.net>2020-07-29 08:50:56 +0200
commit2112433c1aa1fec1a38ec3827e0ec1bd56064da4 (patch)
tree74067f42d93661daf2b0fcb7516fb2228b3910f6 /acme2certifier/acme2certifier.install
parentbca78e4e81979fd6c880f12f9f6310eb8f5a1bfc (diff)
downloadarchlinuxewe.git.save-2112433c1aa1fec1a38ec3827e0ec1bd56064da4.tar.xz
acme2certifier: add install script for running db_update.py
Diffstat (limited to 'acme2certifier/acme2certifier.install')
-rw-r--r--acme2certifier/acme2certifier.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/acme2certifier/acme2certifier.install b/acme2certifier/acme2certifier.install
new file mode 100644
index 00000000..cf9e449d
--- /dev/null
+++ b/acme2certifier/acme2certifier.install
@@ -0,0 +1,6 @@
+post_upgrade() {
+ su http -s /bin/sh -c '
+ cd /var/lib/acme2certifier/tools
+ python db_update.py
+ '
+}