Skip to content

Commit

Permalink
Output rpcbind and statd logs to a sensible place
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdrock committed Aug 22, 2024
1 parent ec24bdf commit bb54df6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions jobs/nfsv3driver/templates/rpcbind.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

set -e

mkdir -p /var/vcap/sys/log/statd
exec 1>> /var/vcap/sys/log/statd/rpcbind.log
exec 2>> /var/vcap/sys/log/statd/rpcbind.err.log
mkdir -p /var/vcap/sys/log/nfsv3driver
exec 1>> /var/vcap/sys/log/nfsv3driver/rpcbind.stdout.log
exec 2>> /var/vcap/sys/log/nfsv3driver/rpcbind.stderr.log
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/var/vcap/packages/nfs-debs/lib
echo "[$(date +%Y-%m-%dT%H:%M:%S.%NZ)] ------------ `basename $0` $* --------------" | tee /dev/stderr

Expand Down
6 changes: 3 additions & 3 deletions jobs/nfsv3driver/templates/statd.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

set -e

mkdir -p /var/vcap/sys/log/statd
exec 1>> /var/vcap/sys/log/statd/statd.log
exec 2>> /var/vcap/sys/log/statd/statd.err.log
mkdir -p /var/vcap/sys/log/nfsv3driver
exec 1>> /var/vcap/sys/log/nfsv3driver/statd.stdout.log
exec 2>> /var/vcap/sys/log/nfsv3driver/statd.stderr.log
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/var/vcap/packages/nfs-debs/lib
echo "[$(date +%Y-%m-%dT%H:%M:%S.%NZ)] ------------ `basename $0` $* --------------" | tee /dev/stderr

Expand Down

0 comments on commit bb54df6

Please sign in to comment.