gentoo-ebuilds/app-backup/bacula/files/newscripts/bacula-sd.initd
Thomas Beierlein 9cd5344043
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>
2023-11-10 11:07:41 +01:00

13 lines
324 B
Text

#!/sbin/openrc-run
# 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() {
need net
use dns
}