Move pidfiles from /var/run/nut to /run/nut, there is nothing else to do since /var/run is a symlink to /run for some times now (policy 3.9.3)

This commit is contained in:
Laurent Bigonville 2019-07-27 13:25:06 +02:00
parent b493284ac5
commit b11ef489f7
8 changed files with 26 additions and 24 deletions

View file

@ -99,7 +99,7 @@ class NutTestCommon(testlib.TestlibCase):
and standard settings for local monitoring
'''
self.tmpdir = ""
self.rundir = "/var/run/nut"
self.rundir = "/run/nut"
testlib.cmd(['/bin/rm -f' + self.powerdownflag])
testlib.config_replace('/etc/nut/ups.conf', '''