You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
391 B
18 lines
391 B
#!/sbin/openrc-run
|
|
# 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() {
|
|
need net
|
|
if [ "${LOCAL_DB}" -eq 1 ]; then
|
|
:
|
|
fi
|
|
use dns bacula-fd bacula-sd
|
|
}
|
|
|