﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1676	nginx.service for tmpfs /var/log	lucserre@…		"Description:
When running /var/log on a tmpfs, the /var/log/nginx folder has not persisted from previous instance of running nginx, for example, after a reboot. The default error.log file /var/log/nginx/error.log is also not there, so no error logging happens.
Also, other services like fail2ban that require the log file fail to start due to that.

Fix:  
added the following like to the .service file for systemd before the existing ExecStartPre line.
ExecStartPre=/bin/mkdir -p /var/log/nginx


nginx -V:  
uname -a:  Linux 4.14.79-v7+ #1159 armv7l GNU/Linux"	defect	closed	minor		other	1.10.x	wontfix	service tmpfs		Linux 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux	nginx 1.10.3
