Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
trackrdrd
Commits
df96e852
Commit
df96e852
authored
May 10, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update sample init script
parent
3ada01b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
trackrdrd
etc/trackrdrd
+3
-10
No files found.
etc/trackrdrd
View file @
df96e852
...
...
@@ -10,9 +10,9 @@
# Default-Stop: 0 1 2 6
# Short-Description: Varnish log tracking reader demon
# Description: This is the Varnish log tracking reader demon,
# which reads data in
tended for tracking
from the Varnish
# shared memory log,
collects all data for each XID, and
#
sends each data record to an ActiveMQ message broker
.
# which reads data in
a specific format
from the Varnish
# shared memory log,
aggregates data for requests and ESI
#
subrequest, and sends each data record to message brokers
.
### END INIT INFO
PIDFILE
=
/var/run/trackrdrd.pid
...
...
@@ -24,11 +24,6 @@ TRACKRDRD_BIN=/path/to/trackrdrd/bin/trackrdrd
#CMD="${TRACKRDRD_BIN} -c ${CONFIG}"
CMD
=
"
${
TRACKRDRD_BIN
}
"
# Child process stops after receiving a request
CURL
=
/usr/bin/curl
VARNISH_PORT
=
81
URL
=
http://localhost:
${
VARNISH_PORT
}
/ts-rcv?testSession
=
true
START_RETRIES
=
10
if
[
!
-e
${
TRACKRDRD_BIN
}
]
;
then
...
...
@@ -72,7 +67,6 @@ function stop_trackrdrd {
logger
"trackrdrd stop FAILED (killproc returned
$?
)"
exit
1
fi
${
CURL
}
${
URL
}
>
/dev/null 2&>1
echo
"done."
}
...
...
@@ -121,7 +115,6 @@ case "$1" in
exit
1
fi
kill
-USR1
$(
cat
${
PIDFILE
})
${
CURL
}
${
URL
}
>
/dev/null 2&>1
getstatus_trackrdrd
exit
0
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment