net/nut: Fix '/var/run' world readable warning
authorDaniel Dickinson <lede@cshore.thecshore.com>
Wed, 11 Jan 2017 23:54:51 +0000 (18:54 -0500)
committerDaniel Dickinson <lede@cshore.thecshore.com>
Wed, 11 Jan 2017 23:54:51 +0000 (18:54 -0500)
commitc00d89593e0bc88c56180914cb78f87cd2d0fa2c
tree1681687e1d991bbe57ec2260ea999e44e01e3c80
parentc94e334c4e5251d09995e3f6c8b80d61928a451c
net/nut: Fix '/var/run' world readable warning

Use /var/run/nut as statepath and set appropriate owner
and permissions on /var/run/nut in order to avoid pidfile
for nut being world-readable.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
net/nut/Makefile
net/nut/files/nut-monitor.init
net/nut/files/nut-server.init