diff options
author | Dave Brolley <brolley@redhat.com> | 2009-12-21 11:26:05 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-12-21 11:26:05 -0500 |
commit | edecda6cff1304fca4c47034b7064dcd51bcc33d (patch) | |
tree | a72db4b963b1433478c182655179e11d3f3418e0 /stap-serverd | |
parent | 26501b0ef1448ded46c97d8d9824204fa3472c5d (diff) | |
download | systemtap-steved-edecda6cff1304fca4c47034b7064dcd51bcc33d.tar.gz systemtap-steved-edecda6cff1304fca4c47034b7064dcd51bcc33d.tar.xz systemtap-steved-edecda6cff1304fca4c47034b7064dcd51bcc33d.zip |
PR 10247, 10276, 10905: Move remaining client/server tools to libexec.
Diffstat (limited to 'stap-serverd')
-rwxr-xr-x | stap-serverd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stap-serverd b/stap-serverd index 48f0072d..f3df884d 100755 --- a/stap-serverd +++ b/stap-serverd @@ -61,7 +61,7 @@ function initialization { # If no certificate/key database has been specified, then find/create # a local one. if ! test -f $ssl_db/$stap_certfile; then - ${stap_exec_prefix}stap-gen-cert $ssl_db >> $logfile 2>&1 || exit 1 + ${stap_pkglibexecdir}stap-gen-cert $ssl_db >> $logfile 2>&1 || exit 1 # Now add the server's certificate to the client's database, # making it a trusted peer. Do this only if the client has been installed. if test -f `which ${stap_exec_prefix}stap-client 2>/dev/null` -a \ @@ -341,11 +341,11 @@ function advertise_presence { function listen { # The stap-server-connect program will listen forever # accepting requests. - ${stap_exec_prefix}stap-server-connect \ + ${stap_pkglibexecdir}stap-server-connect \ -p $port -n $nss_cert -d $ssl_db -w $nss_pw \ -s "$stap_options" \ >> $logfile 2>&1 & - wait '%${stap_exec_prefix}stap-server-connect' >> $logfile 2>&1 + wait '%${stap_pkglibexecdir}stap-server-connect' >> $logfile 2>&1 } # function: warning [ MESSAGE ] @@ -377,8 +377,8 @@ function terminate { wait '%avahi-publish-service' >> $logfile 2>&1 # Kill any running 'stap-server-connect' job. - kill -s SIGTERM '%${stap_exec_prefix}stap-server-connect' >> $logfile 2>&1 - wait '%${stap_exec_prefix}stap-server-connect' >> $logfile 2>&1 + kill -s SIGTERM '%${stap_pkglibexecdir}stap-server-connect' >> $logfile 2>&1 + wait '%${stap_pkglibexecdir}stap-server-connect' >> $logfile 2>&1 exit } |