@ -0,0 +1,15 @@
# This service updates LDAP users and groups within PVE database
# By Julien Escario @ Altinea
# Licensed under GPL V2
#
[Unit]
Description=Synchronise Altinea's LDAP auth backend within PVE
Wants=altinea-ldap-sync.timer
[Service]
Type=oneshot
ExecStart=pveum realm sync LDAP-Altinea
[Install]
WantedBy=multi-user.target
# This timer is responsible for running the correspondant service unit
Requires=altinea-ldap-sync.service
[Timer]
Unit=altinea-ldap-sync.service
OnCalendar=Daily
WantedBy=timers.target