diff options
author | Simon Rettberg | 2020-12-17 15:08:14 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-12-17 15:08:14 +0100 |
commit | b5c3eb9e01b09367935f558a57633b68a65a1a21 (patch) | |
tree | b6c322f3089192124779b9d7a29c8365eb39533f /satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service | |
parent | [SSPS] slx-cert: Put hostname in SAN too, chromium requires this (diff) | |
download | setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.tar.gz setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.tar.xz setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.zip |
[SSPS] Refactor static_files: Submodules with tree
Add submodules (aka directories) to static_files, named according to
what component they are for. Add function "install_files" to copy the
contents of one of those modules to the root directory.
This should make the resulting setup more obvious and require less
manual copying of files everywhere.
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@.service | 10 |
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 |