[packages/onelogin-ldap_connector] install to /usr/lib/ol-ldapc
glen
glen at pld-linux.org
Thu Sep 24 16:04:06 CEST 2015
commit db3566376362a76cf62c93652f02a8c06e1c4104
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Sep 24 17:03:55 2015 +0300
install to /usr/lib/ol-ldapc
ol-ldapc.init | 3 ++-
onelogin-ldap_connector.spec | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/onelogin-ldap_connector.spec b/onelogin-ldap_connector.spec
index db83a4a..6546d42 100644
--- a/onelogin-ldap_connector.spec
+++ b/onelogin-ldap_connector.spec
@@ -4,7 +4,7 @@
Summary: Onelogin Directory Integration
Name: onelogin-ldap_connector
Version: 1.25
-Release: 0.3
+Release: 0.4
License: ?
Group: Libraries
# Forever free account can be obtained from https://www.onelogin.com/signup
@@ -18,7 +18,7 @@ Requires: jre
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _appdir %{_prefix}/lib/%{name}
+%define _appdir %{_prefix}/lib/ol-ldapc
%description
OneLogin allows you to synchronize users with any number of
diff --git a/ol-ldapc.init b/ol-ldapc.init
index fe461ba..157a571 100755
--- a/ol-ldapc.init
+++ b/ol-ldapc.init
@@ -30,6 +30,7 @@ TOKEN=
# Get service config - may override defaults
[ -f /etc/sysconfig/ol-ldapc ] && . /etc/sysconfig/ol-ldapc
+appdir="/usr/lib/ol-ldapc"
pidfile="/var/run/ol-ldapc.pid"
start() {
@@ -40,7 +41,7 @@ start() {
fi
msg_starting "OneLogin LDAP Connector"
- java -XX:-UseGCOverheadLimit -Xmx64M -Xms64M -jar /usr/lib/onelogin-ldap_connector/ldap-connector.jar \
+ java -XX:-UseGCOverheadLimit -Xmx64M -Xms64M -jar $appdir/ldap-connector.jar \
--token "$TOKEN" --sync-interval 30 --object-classes "posixAccount" --base-dn "$BASEDN"
RETVAL=$?
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/onelogin-ldap_connector.git/commitdiff/db3566376362a76cf62c93652f02a8c06e1c4104
More information about the pld-cvs-commit
mailing list