Browse Source

Add PVE LDAP sync timer & service

pull/1/head
Julien Escario 3 years ago
parent
commit
aa293951aa
  1. 15
      proxmox/pve/altinea-ldap-sync.service
  2. 15
      proxmox/pve/altinea-ldap-sync.timer

15
proxmox/pve/altinea-ldap-sync.service

@ -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

15
proxmox/pve/altinea-ldap-sync.timer

@ -0,0 +1,15 @@
# This timer is responsible for running the correspondant service unit
# By Julien Escario @ Altinea
# Licensed under GPL V2
#
[Unit]
Description=Synchronise Altinea's LDAP auth backend within PVE
Requires=altinea-ldap-sync.service
[Timer]
Unit=altinea-ldap-sync.service
OnCalendar=Daily
[Install]
WantedBy=timers.target
Loading…
Cancel
Save