changes for wheezy package
david committed
Jun 17, 2016 at 16:05 UTC
bc09e7e94467b2b36871245f4a88ac2b2a2f7b01
3 files changed
+37
-4
contrib/README.md
+10
-3
@@ -35,8 +35,16 @@ updates first.
35
* edit `contrib/debian/rules` and adjust the `dh` rule near the
36
top to remove systemd (see comments in that file).
37
38
-* edit `contrib/debian/control`: remove `dh-systemd` from the
39
- Build-Depends list, and add `pkg-config` to it.
38
+* rename `contrib/debian/control.wheezy` to `contrib/debian/control`.
39
+
40
+* uncomment `EXTRA_OPTS="-pidfile /var/run/netdata.pid"` in
41
+ `contrib/debian/netdata.default`
42
+
43
+* edit `contrib/debian/netdata.init` and change `PIDFILE` to
44
+ `/var/run/netdata.pid`
45
+
46
+* uncomment `postrotate` in `system/netdata.logrotate.in` and change
47
+ `try-restart` to `restart`
48
49
Then proceed as the main instructions above.
50
@@ -46,4 +54,3 @@ The recommended way to upgrade netdata packages built from this
54
source is to remove the current package from your system, then
55
install the new package. Upgrading on wheezy is known to not
56
work cleanly; Jessie may behave as expected.
49
-
contrib/debian/control.wheezy
new
+25
@@ -0,0 +1,25 @@
1
+Source: netdata
2
+Build-Depends: debhelper (>= 9),
3
+ dh-autoreconf,
4
+ pkg-config,
5
+ dpkg-dev (>= 1.13.19),
6
+ zlib1g-dev,
7
+ uuid-dev
8
+Section: net
9
+Priority: optional
10
+Maintainer: Costa Tsaousis <costa@tsaousis.gr>
11
+Standards-Version: 3.9.6
12
+Homepage: https://github.com/firehol/netdata/wiki
13
+
14
+Package: netdata
15
+Architecture: any
16
+Depends: adduser,
17
+ libcap2-bin (>= 1:2.0),
18
+ lsb-base (>= 3.1-23.2),
19
+ ${misc:Depends},
20
+ ${shlibs:Depends}
21
+Description: real-time charts for system monitoring
22
+ Netdata is a daemon that collects data in realtime (per second)
23
+ and presents a web site to view and analyze them. The presentation
24
+ is also real-time and full of interactive charts that precisely
25
+ render all collected values.
contrib/debian/netdata.default
+2
-1
@@ -1,4 +1,5 @@
1
# Extra arguments to pass to netdata
2
#
3
#EXTRA_OPTS=""
4
-
4
+#uncomment following line if you are building a wheezy-package
5
+#EXTRA_OPTS="-pidfile /var/run/netdata.pid"