summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2023-11-10 11:03:46 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2023-11-10 11:07:41 +0100
commit9cd534404378c3efa83fb42d45e6836cd1be7bc4 (patch)
tree2c9ba7d4eb678b9c8307d4a47950b9c2ee7d8b81 /app-backup
parentx11-misc/pcmanfm-qt: Keyword 1.4.0 riscv, #917093 (diff)
downloadgentoo-9cd534404378c3efa83fb42d45e6836cd1be7bc4.tar.gz
gentoo-9cd534404378c3efa83fb42d45e6836cd1be7bc4.tar.bz2
gentoo-9cd534404378c3efa83fb42d45e6836cd1be7bc4.zip
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>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/bacula/bacula-11.0.6-r4.ebuild5
-rw-r--r--app-backup/bacula/bacula-11.0.6-r5.ebuild5
-rw-r--r--app-backup/bacula/bacula-13.0.2-r2.ebuild5
-rw-r--r--app-backup/bacula/bacula-13.0.3-r1.ebuild5
-rw-r--r--app-backup/bacula/files/newscripts/bacula-dir.initd4
-rw-r--r--app-backup/bacula/files/newscripts/bacula-fd.initd3
-rw-r--r--app-backup/bacula/files/newscripts/bacula-sd.initd4
7 files changed, 28 insertions, 3 deletions
diff --git a/app-backup/bacula/bacula-11.0.6-r4.ebuild b/app-backup/bacula/bacula-11.0.6-r4.ebuild
index c0f320e5816f..e71c03f5e34f 100644
--- a/app-backup/bacula/bacula-11.0.6-r4.ebuild
+++ b/app-backup/bacula/bacula-11.0.6-r4.ebuild
@@ -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)."
}
diff --git a/app-backup/bacula/bacula-11.0.6-r5.ebuild b/app-backup/bacula/bacula-11.0.6-r5.ebuild
index 2f5e5150e17d..a607a5387633 100644
--- a/app-backup/bacula/bacula-11.0.6-r5.ebuild
+++ b/app-backup/bacula/bacula-11.0.6-r5.ebuild
@@ -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)."
}
diff --git a/app-backup/bacula/bacula-13.0.2-r2.ebuild b/app-backup/bacula/bacula-13.0.2-r2.ebuild
index 8477869b3cab..8369e48a2977 100644
--- a/app-backup/bacula/bacula-13.0.2-r2.ebuild
+++ b/app-backup/bacula/bacula-13.0.2-r2.ebuild
@@ -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)."
}
diff --git a/app-backup/bacula/bacula-13.0.3-r1.ebuild b/app-backup/bacula/bacula-13.0.3-r1.ebuild
index 732e14167c2b..887471c4753f 100644
--- a/app-backup/bacula/bacula-13.0.3-r1.ebuild
+++ b/app-backup/bacula/bacula-13.0.3-r1.ebuild
@@ -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)."
}
diff --git a/app-backup/bacula/files/newscripts/bacula-dir.initd b/app-backup/bacula/files/newscripts/bacula-dir.initd
index fdcfc7ef2b65..df76a70ca3ee 100644
--- a/app-backup/bacula/files/newscripts/bacula-dir.initd
+++ b/app-backup/bacula/files/newscripts/bacula-dir.initd
@@ -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() {
diff --git a/app-backup/bacula/files/newscripts/bacula-fd.initd b/app-backup/bacula/files/newscripts/bacula-fd.initd
index fe6a8815b9fd..5063df0f9198 100644
--- a/app-backup/bacula/files/newscripts/bacula-fd.initd
+++ b/app-backup/bacula/files/newscripts/bacula-fd.initd
@@ -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() {
diff --git a/app-backup/bacula/files/newscripts/bacula-sd.initd b/app-backup/bacula/files/newscripts/bacula-sd.initd
index 07facefbb4a4..15aa6d1c6205 100644
--- a/app-backup/bacula/files/newscripts/bacula-sd.initd
+++ b/app-backup/bacula/files/newscripts/bacula-sd.initd
@@ -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() {