summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service')
-rw-r--r--satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service b/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service
new file mode 100644
index 0000000..b04118f
--- /dev/null
+++ b/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=LDAP-Proxy for AD/LDAP communication #%i
+ConditionFileNotEmpty=/opt/ldadp/configs/%i.cfg
+
+[Service]
+ExecStart=/opt/ldadp/ldadp -n /opt/ldadp/configs/%i.cfg
+Restart=always
+
+[Install]
+WantedBy=multi-user.target