summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorPromise Akpan <akpanpromise@hotmail.com>2019-08-15 12:06:39 +0100
committerChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-08-15 13:06:39 +0200
commitf5006d51e8caf9148d393eb68d53dc9fcd28b7b6 (patch)
tree03b757236d6b45e46813a4a875c77dc775e5f896 /contrib
parent69172fd57472df75d877f43de2dcc693c48ab5c0 (diff)
Fix Markdown Lint warnings (#6664)
* make remark access all directories * detailed fix after autofix by remark lint * cross check autofix for this set of files * crosscheck more files * crosschecking and small fixes * crosscheck autofixed md files
Diffstat (limited to 'contrib')
-rw-r--r--contrib/README.md39
-rw-r--r--contrib/sles11/README.md13
2 files changed, 29 insertions, 23 deletions
diff --git a/contrib/README.md b/contrib/README.md
index a5dafa01bc..8f28282a5e 100644
--- a/contrib/README.md
+++ b/contrib/README.md
@@ -11,19 +11,24 @@ To build Netdata for a Debian Jessie system, the debian directory
has to be available in the root of the Netdata source. The easiest
way to do this is with a symlink:
- ~/netdata$ ln -s contrib/debian
+```
+~/netdata$ ln -s contrib/debian
+```
Then build the debian package:
- ~/netdata$ dpkg-buildpackage -us -uc -rfakeroot
+```
+~/netdata$ dpkg-buildpackage -us -uc -rfakeroot
+```
This should give a package that can be installed in the parent
directory, which you can install manually with dpkg.
- ~/netdata$ ls ../*.deb
- ../netdata_1.0.0_amd64.deb
- ~/netdata$ sudo dpkg -i ../netdata_1.0.0_amd64.deb
-
+```
+~/netdata$ ls ../*.deb
+../netdata_1.0.0_amd64.deb
+~/netdata$ sudo dpkg -i ../netdata_1.0.0_amd64.deb
+```
### Building for a Debian system without systemd
@@ -32,21 +37,21 @@ are based on systemd. To build non-systemd packages (for example,
for Debian wheezy), you will need to make a couple of minor
updates first.
-* edit `contrib/debian/rules` and adjust the `dh` rule near the
- top to remove systemd (see comments in that file).
+- edit `contrib/debian/rules` and adjust the `dh` rule near the
+ top to remove systemd (see comments in that file).
-* rename `contrib/debian/control.wheezy` to `contrib/debian/control`.
+- rename `contrib/debian/control.wheezy` to `contrib/debian/control`.
-* change `control.wheezy from contrib/Makefile* to control`.
+- change `control.wheezy from contrib/Makefile* to control`.
-* uncomment `EXTRA_OPTS="-P /var/run/netdata.pid"` in
- `contrib/debian/netdata.default`
+- uncomment `EXTRA_OPTS="-P /var/run/netdata.pid"` in
+ `contrib/debian/netdata.default`
-* edit `contrib/debian/netdata.init` and change `PIDFILE` to
- `/var/run/netdata.pid`
+- edit `contrib/debian/netdata.init` and change `PIDFILE` to
+ `/var/run/netdata.pid`
-* remove `dpkg-statoverride --update --add --force root netdata 0775 /var/lib/netdata/registry` from
- `contrib/debian/netdata.postinst.in`. If you are going to handle the unique id file differently.
+- remove `dpkg-statoverride --update --add --force root netdata 0775 /var/lib/netdata/registry` from
+ `contrib/debian/netdata.postinst.in`. If you are going to handle the unique id file differently.
Then proceed as the main instructions above.
@@ -57,4 +62,4 @@ source is to remove the current package from your system, then
install the new package. Upgrading on wheezy is known to not
work cleanly; Jessie may behave as expected.
-[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fcontrib%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)]()
+[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fcontrib%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)](<>)
diff --git a/contrib/sles11/README.md b/contrib/sles11/README.md
index fb584bbec3..2c938001bf 100644
--- a/contrib/sles11/README.md
+++ b/contrib/sles11/README.md
@@ -2,10 +2,11 @@
Based on [opensuse rpm spec](https://build.opensuse.org/package/show/network/netdata) with some
changes and additions for sles 11 backport, namely:
-- init.d script
-- run-time dependency on python ordereddict backport
-- patch for Netdata python.d plugin to work with older python
-- crude hack of notification script to work with bash 3 (email and syslog only, one destination,
- see comments at the top)
-[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fcontrib%2Fsles11%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)]()
+- init.d script
+- run-time dependency on python ordereddict backport
+- patch for Netdata python.d plugin to work with older python
+- crude hack of notification script to work with bash 3 (email and syslog only, one destination,
+ see comments at the top)
+
+[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fcontrib%2Fsles11%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)](<>)