app-backup/bacula: Add comment

When changing port numbers of baculas components one needs to adapt the
pidfile naming in init.d scripts. Add a comment to emphasize this.

Thanks chris@novazur.fr for pointing to the problem.

Closes: https://bugs.gentoo.org/915613
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2023-11-10 11:03:46 +01:00
parent 340ee2945c
commit 9cd5344043
7 changed files with 28 additions and 3 deletions

View File

@@ -414,4 +414,9 @@ pkg_postinst() {
einfo
einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during"
einfo "restores, so be sure to set it to an appropriate in dir in the bacula config."
einfo
einfo "If you adapt the port numbers for baculas components in the config files"
einfo "make sure to adapt the file names for the pidfile accordingly"
einfo "(see init.d scripts)."
}

View File

@@ -424,4 +424,9 @@ pkg_postinst() {
einfo
einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during"
einfo "restores, so be sure to set it to an appropriate in dir in the bacula config."
einfo
einfo "If you adapt the port numbers for baculas components in the config files"
einfo "make sure to adapt the file names for the pidfile accordingly"
einfo "(see init.d scripts)."
}

View File

@@ -423,4 +423,9 @@ pkg_postinst() {
einfo
einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during"
einfo "restores, so be sure to set it to an appropriate in dir in the bacula config."
einfo
einfo "If you adapt the port numbers for baculas components in the config files"
einfo "make sure to adapt the file names for the pidfile accordingly"
einfo "(see init.d scripts)."
}

View File

@@ -424,4 +424,9 @@ pkg_postinst() {
einfo
einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during"
einfo "restores, so be sure to set it to an appropriate in dir in the bacula config."
einfo
einfo "If you adapt the port numbers for baculas components in the config files"
einfo "make sure to adapt the file names for the pidfile accordingly"
einfo "(see init.d scripts)."
}

View File

@@ -1,8 +1,10 @@
#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command=/usr/sbin/bacula-dir
command_args="${DIR_OPTIONS}"
# make sure the following line matches the portnumber from bacula-dir.conf
pidfile=/var/run/bacula-dir.9101.pid
depend() {

View File

@@ -1,9 +1,10 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command=/usr/sbin/bacula-fd
command_args="${FD_OPTIONS}"
# make sure the following line matches the portnumber from bacula-fd.conf
pidfile=/var/run/bacula-fd.9102.pid
depend() {

View File

@@ -1,8 +1,10 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command=/usr/sbin/bacula-sd
command_args="${SD_OPTIONS}"
# make sure the following line matches the portnumber from bacula-sd.conf
pidfile=/var/run/bacula-sd.9103.pid
depend() {