From e374b75fc157e4635178780ab142b2c20ba71229 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 13 Jul 2010 06:10:48 +0000 Subject: [PATCH] Teach opensrf-perl.pl the same PID directory as osrf_ctl.sh This should cut down on one more command-line option when working with individual Perl services. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1982 9efc2488-bf62-4759-914b-345cdb29e865 --- bin/opensrf-perl.pl.in | 2 +- configure.ac | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/opensrf-perl.pl.in b/bin/opensrf-perl.pl.in index b5e0aa2..5751eed 100755 --- a/bin/opensrf-perl.pl.in +++ b/bin/opensrf-perl.pl.in @@ -28,7 +28,7 @@ use OpenSRF::Utils::Config; my $opt_action = undef; my $opt_service = undef; my $opt_config = "@CONF_DIR@/opensrf_core.xml"; -my $opt_pid_dir = "@TMP@"; +my $opt_pid_dir = "@PID_DIR@/run/opensrf"; my $opt_no_daemon = 0; my $opt_settings_pause = 0; my $opt_localhost = 0; diff --git a/configure.ac b/configure.ac index 446227e..89558d3 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,9 @@ fi # Perl and Python scripts don't want ${prefix} if no value was specified eval "eval CONF_DIR=$sysconfdir" +eval "eval PID_DIR=$localstatedir" AC_SUBST([CONF_DIR]) +AC_SUBST([PID_DIR]) AC_SUBST(prefix) AC_SUBST(bindir) -- 2.11.0