TT#47113 Change owner of nginx logs

Now nginx uses rsyslog for logging but all logs processed by rsyslog
have root:adm ownership so change the test accordingly.

Change-Id: I902f6a588ea60c5a0412a1c0a59fc74a2e36faa8
changes/33/39833/1
Mykola Malkov 6 years ago
parent 136a3eeddd
commit 691388de5b

@ -125,7 +125,7 @@ command:
stderr:
- '!/./'
"if test -e /var/log/ngcp/nginx/; then find /var/log/ngcp/nginx/ -type f ! -user www-data; fi":
"if test -e /var/log/ngcp/nginx/; then find /var/log/ngcp/nginx/ -type f ! -user root; fi":
exit-status: 0
stdout:
- '!/./'

Loading…
Cancel
Save