Skip to content
Snippets Groups Projects
Verified Commit b4da3dff authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

aurweb: make dat ssh faster (~5,7sec -> ~3sec)

parent f45c7dfd
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,12 @@
priv="{{ aurweb_db }}.*:ALL"
no_log: true
- name: create directory for poetry configuration
file: path={{ aur_user.home }}/.config/pypoetry state=directory owner={{ aur_user.name }} group={{ aur_user.name }} mode=0755
- name: install poetry configuration
copy: src=config.toml dest={{ aur_user.home }}/.config/pypoetry/ owner={{ aur_user.name }} group={{ aur_user.name }} mode=0644
- name: initialize the database
command: poetry run python -m aurweb.initdb
args:
......
#!/bin/bash
cd "{{ aurweb_dir }}"
exec poetry run aurweb-git-auth "$@"
exec "{{ aurweb_dir }}/.venv/bin/aurweb-git-auth" "$@"
#!/bin/bash
cd "{{ aurweb_dir }}"
exec poetry run aurweb-git-serve "$@"
exec "{{ aurweb_dir }}/.venv/bin/aurweb-git-serve" "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment