aboutsummaryrefslogtreecommitdiff
path: root/misc/estic/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'misc/estic/pkg-plist')
-rw-r--r--misc/estic/pkg-plist7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/estic/pkg-plist b/misc/estic/pkg-plist
index 716ad93e7634..7f3de6704008 100644
--- a/misc/estic/pkg-plist
+++ b/misc/estic/pkg-plist
@@ -2,9 +2,12 @@ bin/estic.res
%%WITHOUT_X%%bin/estic
%%WITH_X%%bin/xestic
etc/pbx/aliases.example
-etc/pbx/config
+@(root,wheel,600) etc/pbx/config.example
etc/pbx/estic.ini.freebsd_example
etc/pbx/estic.ini.generic_example
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/estic.doc
-var/log/pbx/debug
+@preunexec [ -e %D/var/log/pbx/debug ] && rm -f %D/var/log/pbx/debug || true
+@dir(root,wheel,700) var/log/pbx
+@postexec touch %D/var/log/pbx/debug
+@postexec chmod 600 %D/var/log/pbx/debug