diff options
author | Dave Brolley <brolley@redhat.com> | 2009-10-27 12:15:42 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-10-27 12:15:42 -0400 |
commit | 465cab03ccad9d50e99431fa1f2da26b9d00b72b (patch) | |
tree | e00bcbab3db424812041b54d3e3dfb8222a63115 /initscript | |
parent | 7901b115cfa71950649621818402f625fdb83a53 (diff) | |
download | systemtap-steved-465cab03ccad9d50e99431fa1f2da26b9d00b72b.tar.gz systemtap-steved-465cab03ccad9d50e99431fa1f2da26b9d00b72b.tar.xz systemtap-steved-465cab03ccad9d50e99431fa1f2da26b9d00b72b.zip |
Change temporary paths to their proper values.
Diffstat (limited to 'initscript')
-rw-r--r-- | initscript/stap-server.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/initscript/stap-server.in b/initscript/stap-server.in index 9f2b1369..a7721a12 100644 --- a/initscript/stap-server.in +++ b/initscript/stap-server.in @@ -15,8 +15,7 @@ # Description: The systemtap compile server provides a centralized and secure environment for compiling systemtap scripts. ### END INIT INFO -# TEMPORARY SEARCH DIRECTORY WHILE TESTING. SHOULD BE CHANGED TO @bindir@ -BINDIR=/usr/local/bin +BINDIR=@bindir@ # Source function library. . /etc/rc.d/init.d/functions @@ -33,9 +32,9 @@ UNAME=/bin/uname # Path setup CONFIG_PATH=/etc/stap-server/conf.d -STAT_PATH=/tmp/var/run/stap-server # for now, should be /var/run/stap-server +STAT_PATH=/var/run/stap-server TEMP_PATH=/tmp -LOG_FILE=$stap_server_logfile # /var/log/stap-server.log +LOG_FILE=/var/log/stap-server.log # Default option settings # Target architecture @@ -241,7 +240,7 @@ prepare_stat_dir () { # Default to the currently running kernel release get_release () { # server-spec if [ -z "$1" ]; then - uname -r + $UNAME -r else expr "$1" : '\(.*\)_.*' fi |