[Bug 275300] [PATCH] www/angie: Create/delete logs directory using hooks
Date: Tue, 20 Feb 2024 13:35:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275300 Robert Clausecker <fuz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuz@FreeBSD.org --- Comment #2 from Robert Clausecker <fuz@FreeBSD.org> --- This is probably better solved by creating the directory in the rc.d script and leaving it out of the package entirely. That said, instead of adding installation and deinstallation scripts, you should at least do something like adding @preexec mkdir -p %%LOGDIR%% @postunexec rmdir %%LOGDIR%% 2>/dev/null || true to pkg-plist. I have asked on the ports IRC channel for the proper way to do this and will report back if there is a better solution. -- You are receiving this mail because: You are the assignee for the bug.