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