Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
5f620de6
Verified
Commit
5f620de6
authored
Dec 31, 2020
by
Frederik Schwan
Browse files
fix environment variables for automatic donor import
parent
5784cde8
Pipeline
#4294
passed with stage
in 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/archweb/templates/donor_import_wrapper.sh.j2
View file @
5f620de6
#!/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
roles/archweb/templates/sudoers-fetchmail-archweb.j2
View file @
5f620de6
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment