summaryrefslogtreecommitdiff
path: root/acme2certifier
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-26 12:56:44 +0200
committerErich Eckner <git@eckner.net>2020-05-26 12:56:44 +0200
commit5cc21831db66ea2b298308a60146332dbaa02240 (patch)
tree18b222bb92f1aebc0715d5af9533932419fbb96e /acme2certifier
parentd0bb89d1e62454524c64ea22593f2ceaadb3f5b6 (diff)
downloadarchlinuxewe.git.save-5cc21831db66ea2b298308a60146332dbaa02240.tar.xz
acme2certifier: add missing file
Diffstat (limited to 'acme2certifier')
-rw-r--r--acme2certifier/systemd.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/acme2certifier/systemd.patch b/acme2certifier/systemd.patch
new file mode 100644
index 00000000..3b38776e
--- /dev/null
+++ b/acme2certifier/systemd.patch
@@ -0,0 +1,34 @@
+--- a/examples/nginx/acme2certifier.ini 2020-05-24 13:46:24.045480702 +0200
++++ b/examples/nginx/acme2certifier.ini 2020-05-24 12:52:35.875846711 +0200
+@@ -1,10 +1,13 @@
+ [uwsgi]
++chdir = /var/lib/acme2certifier
+ module = acme2certifier_wsgi:application
++plugins = python
++wsgi-file = /var/lib/acme2certifier/acme2certifier_wsgi.py
+ master = true
+ processes = 5
+-uid = nginx
++uid = http
+ socket = /run/uwsgi/acme.sock
+-chown-socket = nginx
++chown-socket = http
+ chmod-socket = 660
+ vacuum = true
+ die-on-term = true
+--- a/examples/nginx/uwsgi.service 2020-05-24 16:26:36.289592292 +0200
++++ b/examples/nginx/uwsgi.service 2020-05-24 13:44:56.156306673 +0200
+@@ -3,11 +3,11 @@
+
+ [Service]
+ RuntimeDirectory=uwsgi
+-ExecStart=/usr/bin/bash -c 'cd /opt/acme2certifier; uwsgi --ini acme2certifier.ini'
++ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/acme2certifier.ini
+ Restart=always
+ Type=notify
+ NotifyAccess=all
+-User=nginx
++User=http
+
+ [Install]
+ WantedBy=multi-user.target