summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorTimo Aaltonen <tjaalton@debian.org>2016-09-30 01:00:02 +0300
committerMartin Basti <mbasti@redhat.com>2016-10-13 20:55:14 +0200
commit6c09d6f8788b5436d6c9a5af4cc079a843f00e33 (patch)
treec93df5b00908e80fc1ff96fc5d5a71852bc1a2a7 /daemons
parent6c53765ac1746ea3cb82554775a37fe43af062e8 (diff)
downloadfreeipa-6c09d6f8788b5436d6c9a5af4cc079a843f00e33.tar.gz
freeipa-6c09d6f8788b5436d6c9a5af4cc079a843f00e33.tar.xz
freeipa-6c09d6f8788b5436d6c9a5af4cc079a843f00e33.zip
Move ipa-otpd to $libexecdir/ipa
This is more consistent with the other daemons. Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ipa-otpd/Makefile.am3
-rw-r--r--daemons/ipa-otpd/ipa-otpd@.service.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/daemons/ipa-otpd/Makefile.am b/daemons/ipa-otpd/Makefile.am
index 839217484..d2e167964 100644
--- a/daemons/ipa-otpd/Makefile.am
+++ b/daemons/ipa-otpd/Makefile.am
@@ -2,7 +2,8 @@ AM_CFLAGS := @LDAP_CFLAGS@ @LIBVERTO_CFLAGS@
AM_LDFLAGS := @LDAP_LIBS@ @LIBVERTO_LIBS@ @KRAD_LIBS@
noinst_HEADERS = internal.h
-libexec_PROGRAMS = ipa-otpd
+appdir = $(libexecdir)/ipa/
+app_PROGRAMS = ipa-otpd
dist_noinst_DATA = ipa-otpd.socket.in ipa-otpd@.service.in test.py
systemdsystemunit_DATA = ipa-otpd.socket ipa-otpd@.service
diff --git a/daemons/ipa-otpd/ipa-otpd@.service.in b/daemons/ipa-otpd/ipa-otpd@.service.in
index b85d5a127..92afb404c 100644
--- a/daemons/ipa-otpd/ipa-otpd@.service.in
+++ b/daemons/ipa-otpd/ipa-otpd@.service.in
@@ -3,7 +3,7 @@ Description=ipa-otpd service
[Service]
EnvironmentFile=@sysconfdir@/ipa/default.conf
-ExecStart=@libexecdir@/ipa-otpd $ldap_uri
+ExecStart=@libexecdir@/ipa/ipa-otpd $ldap_uri
StandardInput=socket
StandardOutput=socket
StandardError=syslog