* rename `contrib/debian/control.wheezy` to `contrib/debian/control`.
-* uncomment `EXTRA_OPTS="-pidfile /var/run/netdata.pid"` in
+* change `control.wheezy from contrib/Makefile* to control`.
+
+* 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`
-* uncomment `postrotate` in `system/netdata.logrotate.in` and change
- `try-restart` to `restart`
+* 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.