From: dbs Date: Tue, 13 Jul 2010 06:10:48 +0000 (+0000) Subject: Teach opensrf-perl.pl the same PID directory as osrf_ctl.sh X-Git-Tag: osrf_rel_2_0_1~135 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e374b75fc157e4635178780ab142b2c20ba71229;p=OpenSRF.git 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 --- 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)