freebsd-ports/sysutils/munin-common/pkg-plist
Florian Smeets 16efccedf1 Make sure the STATEDIR is created when installing the package. Otherwise munin
processes refuse to start.

Reported by:	Alain AUDEBERT <deuza@me.com>
2012-03-05 17:07:14 +00:00

12 lines
463 B
Text

%%SITE_PERL%%/Munin/Common/Config.pm
%%SITE_PERL%%/Munin/Common/Defaults.pm
%%SITE_PERL%%/Munin/Common/TLS.pm
%%SITE_PERL%%/Munin/Common/TLSClient.pm
%%SITE_PERL%%/Munin/Common/TLSServer.pm
%%SITE_PERL%%/Munin/Common/Timeout.pm
@dirrm %%SITE_PERL%%/Munin/Common
@dirrm %%SITE_PERL%%/Munin
@exec mkdir -p %%LOGDIR%%
@unexec /bin/rmdir %%LOGDIR%% 2>/dev/null || /usr/bin/true
@exec mkdir -p %%STATEDIR%%
@unexec /bin/rmdir %%STATEDIR%% 2>/dev/null || /usr/bin/true