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
377b4d29
Commit
377b4d29
authored
Nov 17, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RPM installs a systemd unit file.
parent
eb97698a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
trackrdrd.service
pkg/rpm/trackrdrd.service
+21
-0
trackrdrd.spec
pkg/rpm/trackrdrd.spec
+5
-1
No files found.
pkg/rpm/trackrdrd.service
0 → 100644
View file @
377b4d29
[Unit]
Description=Tracking Log Reader for Varnish Cache
Documentation=man:trackrdrd(3) man:libtrackrdr-kafka(3)
After=varnish.service
[Service]
# If you want to make changes to this file, please copy it to
# /etc/systemd/system/trackrdrd.service and make your changes there.
# This will override the file kept at /lib/systemd/system/trackrdrd.service
# Maximum size of the corefile.
LimitCORE=infinity
Type=forking
PIDFile=/var/run/trackrdrd.pid
ExecStart=/usr/bin/trackrdrd
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target
pkg/rpm/trackrdrd.spec
View file @
377b4d29
...
...
@@ -7,7 +7,7 @@ License: BSD
Group: System Environment/Daemons
URL: https://code.uplex.de/uplex-varnish/trackrdrd
Source0: %{name}-%{version}.tar.gz
#Source1: varnish.initrc
Source1: trackrdrd.service
#Source2: varnish.sysconfig
#Source3: varnish.logrotate
#Source4: varnish_reload_vcl
...
...
@@ -91,6 +91,8 @@ make install DESTDIR=%{buildroot}
install -D -m 0644 etc/trackrdrd.conf %{buildroot}%{_sysconfdir}/trackrdrd.conf
install -D -m 0644 etc/trackrdr-kafka.conf %{buildroot}%{_sysconfdir}/trackrdr-kafka.conf
install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/trackrdrd.service
# None of these for fedora/epel
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
find %{buildroot}/%{_libdir}/ -name '*.a' -exec rm -f {} ';'
...
...
@@ -108,4 +110,6 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/trackrdrd.conf
%config(noreplace) %{_sysconfdir}/trackrdr-kafka.conf
%{_unitdir}/trackrdrd.service
%changelog
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