FS#41041 - [nginx] Add systemd-tmpfiles file for creating an log directory if /var/log is tmpfs
Attached to Project:
Arch Linux
Opened by Torben Andresen (tapsiturtle) - Tuesday, 01 July 2014, 09:31 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 01 July 2014, 13:53 GMT
Opened by Torben Andresen (tapsiturtle) - Tuesday, 01 July 2014, 09:31 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 01 July 2014, 13:53 GMT
|
Details
Description: I have /var/log as a tmpfs filesystem. Nginx
puts their logs in /var/log/nginx which not exist after
reboot. Could you please add an additional file to the nginx
package? It should then created in /etc/tmpfiles.d and
called nginx.conf with the content:
d /var/log/nginx 0755 root root - This creates the needed directory on every boot if not exist and nginx starts wihout an failure. |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 01 July 2014, 13:53 GMT
Reason for closing: Won't implement
Additional comments about closing: non-standard setups require non-standard changes.
Tuesday, 01 July 2014, 13:53 GMT
Reason for closing: Won't implement
Additional comments about closing: non-standard setups require non-standard changes.
Comment by
Dave Reisner (falconindy) - Tuesday,
01 July 2014, 11:53 GMT
Comment by Doug Newgard (Scimmia) -
Tuesday, 01 July 2014, 12:55 GMT
Comment by
Torben Andresen (tapsiturtle) -
Tuesday, 01 July 2014, 13:48 GMT
/var/log on tmpfs is entirely non-standard. I think you really
should just add your own tmpfiles entry for this.
I agree with Dave, this doesn't make sense. You can change things
from the defaults, but then you deal with reconfiguring things to
make that work, not the package.
Ok, i understand. Please close this Ticket.