Discussion:
[BackupPC-devel] change V4 directories layout
Alexander Moisseev
2013-10-16 10:18:49 UTC
Permalink
I propose to change BackupPC V4 directories layout to better conform the Filesystem Hierarchy Standard.

- move documentation from $Conf{InstallDir}/doc to $Conf{InstallDir}/share/doc/BackupPC;

Reason to install documentation in share/doc/BackupPC instead of share/doc:
config.pl tries to change owner of the doc directory which in some circumstances is a system doc directory (e.g. --install-dir /usr/local).

- move BackupPC.pid, BackupPC.sock and LOCK from /var/log/BackupPC to /var/run/BackupPC;
- move status.pl and UserEmailInfo.pl from /var/log/BackupPC to $Conf{TopDir};
pool.rrd also place in $Conf{TopDir}

- add --doc-dir and --run-dir options to configure.pl

--
Alexander
Kenneth Porter
2013-10-17 11:56:50 UTC
Permalink
--On Wednesday, October 16, 2013 3:18 PM +0400 Alexander Moisseev
Post by Alexander Moisseev
I propose to change BackupPC V4 directories layout to better conform the
Filesystem Hierarchy Standard.
Sounds good to me. The Fedora/CentOS package has to do this by patching the
original tarball contents. This would make that package a lot simpler.
Loading...