Alexander Moisseev
2013-10-16 10:18:49 UTC
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
- 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