Verified Commit 5f620de6 authored by Frederik Schwan's avatar Frederik Schwan
Browse files

fix environment variables for automatic donor import

parent 5784cde8
Pipeline #4294 passed with stage
in 41 seconds
#!/bin/bash
sudo -u archweb /usr/bin/env PW_PYTHON={{ archweb_dir }}/env/bin/python {{ archweb_dir }}/manage.py donor_import
sudo -u archweb {{ archweb_dir }}/env/bin/python {{ archweb_dir }}/manage.py donor_import
fetchmail ALL=(archweb) NOPASSWD: /usr/bin/env PW_PYTHON={{ archweb_dir }}/env/bin/python {{ archweb_dir }}/manage.py donor_import
fetchmail ALL=(archweb) NOPASSWD: {{ archweb_dir }}/env/bin/python {{ archweb_dir }}/manage.py donor_import
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment