Update to 2023-10-13 15:00

This commit is contained in:
Daniel Berteaud
2023-10-13 15:00:23 +02:00
parent 5956dad4fd
commit e823a08de2
32 changed files with 163 additions and 142 deletions

View File

@@ -0,0 +1,3 @@
{% for env in ldap2pg_env.keys() | list %}
{{ env }}={{ ldap2pg_env[env] }}
{% endfor %}

View File

@@ -4,7 +4,8 @@ Description=Sync postgres role from LDAP
[Service]
Type=oneshot
PrivateTmp=yes
EnvironmentFile=/etc/sysconfig/ldap2pg
User={{ ldap2pg_user }}
Group={{ ldap2pg_user }}
ExecStart=/bin/ldap2pg -c /etc/ldap2pg.yml --{{ ldap2pg_dry_mode | ternary('dry', 'real') }}
ExecStart=/usr/local/bin/ldap2pg -c /etc/ldap2pg.yml {{ ldap2pg_dry_mode | ternary('', '--real') }}
TimeoutSec=30m