ansible-roles/roles/ldap2pg/templates/ldap2pg.service.j2

11 lines
201 B
Plaintext
Raw Normal View History

2022-03-17 09:00:06 +01:00
[Unit]
Description=Sync postgres role from LDAP
[Service]
Type=oneshot
PrivateTmp=yes
User={{ ldap2pg_user }}
Group={{ ldap2pg_user }}
2022-03-17 10:00:06 +01:00
ExecStart=/bin/ldap2pg -c /etc/ldap2pg.yml --real
2022-03-17 09:00:06 +01:00
TimeoutSec=30m