add ldap-hostname script and service
Deploy Package / Explore-Gitea-Actions (push) Successful in 14s

This commit is contained in:
Carneiro committed 2024-11-18 10:32:21 -03:00
1 parent 60f506b2c7
commit 0a77bc0003
2 files changed
+21

No files matched your search

@@ -0,0 +1,10 @@
[Unit]
Description=Set hostname based on IP from LDAP
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/ldap-hostname
[Install]
WantedBy=multi-user.target