mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
11 lines
244 B
Django/Jinja
11 lines
244 B
Django/Jinja
[Unit]
|
|
Description=Sync postgres role from LDAP
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
PrivateTmp=yes
|
|
User={{ ldap2pg_user }}
|
|
Group={{ ldap2pg_user }}
|
|
ExecStart=/bin/ldap2pg -c /etc/ldap2pg.yml --{{ ldap2pg_dry_mode | ternary('dry', 'real') }}
|
|
TimeoutSec=30m
|