Commit bad30b66 authored by Leonardo Arena's avatar Leonardo Arena

main/bacula: use a more common varname in init scripts

parent 396be1be
......@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=bacula
pkgver=7.4.7
pkgrel=3
pkgrel=4
pkgdesc="Enterprise ready, network based backup program"
url="http://www.bacula.org"
arch="all"
......@@ -169,7 +169,7 @@ client() {
}
sha512sums="2dcffe3f02de8e7dedc11f58aeca58fb95486757579065564753376d3fab7699d7577c189d0d34f8490706d773cd6a95d42ef1f35facb95e6fff10dad085c0d0 bacula-7.4.7.tar.gz
7e5e164d891896b11b9a4eb8cf7a3ffc8d20aef01296df998d64aba3f1ad82c9537aaa94ef18d4b4a60c794192a484ae5358fba7885a2dbc812bd45f551a7fdd bacula-dir.initd
de86166300aae2a76764f2ba316d713960525e944f8cdb76ce53cda779d3d60d6e88663de2fe1a461018a258b9d35523ad7e1a6d4695566c1d183f224b4181fe bacula-sd.initd
bc573ef44e0b4729631190b3cd8b7209266cb31b2c37f874b75184a4044cd6a8bf6f42adbcb2c5e215690cbb1e8045c1c04700853d66b9706bef815543d1250a bacula-fd.initd
d54a83e8ac498201a8fe7b81631b915be1f1d9f8ad30530c0a7314569ef8f91c990b63e30fda63ae9ebb79f10104e6b827ad4eae274e84cbd3d5751b1cf493af bacula-dir.initd
c37a1000c99984510993d77733117e0e65c25011ca98272c9d8b5db5a976c42a3b6f57c240c708bc5657a7d5aae1b51f5d7db6a9b9cfe7b4d1ce682726dc5faf bacula-sd.initd
c4f7adecc164b93c119338feebc0367c07d3060099cd87b474e7325fa5840d0e36666d78f5e2b89e322a1cd2fbbefc8e1f4455ad87d7237e41d1a201457d5448 bacula-fd.initd
2d3757236aacca421261a8866ff04b5b0151538e1462559bd1240119b1bece1d456acbba9fee86dbc6aaec7af2a52eb2c0b7490c5f371b7deb478731c74342ff bacula-7.4.0-path-mounted.patch"
#!/sbin/openrc-run
: ${port:=9101}
: ${conf:=/etc/bacula/bacula-dir.conf}
: ${cfgfile:=/etc/bacula/bacula-dir.conf}
: ${exec_user:=bacula}
: ${exec_group:=bacula}
name="Bacula Director"
command="/usr/sbin/$RC_SVCNAME"
command_args="-u $exec_user -g $exec_group -c $conf"
command_args="-u $exec_user -g $exec_group -c $cfgfile"
pidfile="/var/run/bacula/$RC_SVCNAME.$port.pid"
depend() {
......
#!/sbin/openrc-run
: ${port:=9102}
: ${conf:=/etc/bacula/bacula-fd.conf}
: ${cfgfile:=/etc/bacula/bacula-fd.conf}
: ${exec_user:=root}
: ${exec_group:=root}
name="Bacula File Daemon"
command="/usr/sbin/$RC_SVCNAME"
command_args="-u $exec_user -g $exec_group -c $conf"
command_args="-u $exec_user -g $exec_group -c $cfgfile"
pidfile="/var/run/bacula/$RC_SVCNAME.$port.pid"
depend() {
......
#!/sbin/openrc-run
: ${port:=9103}
: ${conf:=/etc/bacula/bacula-dir.conf}
: ${cfgfile:=/etc/bacula/bacula-dir.conf}
: ${exec_user:=bacula}
: ${exec_group:=bacula}
name="Bacula Storage Daemon"
command="/usr/sbin/$RC_SVCNAME"
command_args="-u $exec_user -g $exec_group -c $conf"
command_args="-u $exec_user -g $exec_group -c $cfgfile"
pidfile="/var/run/bacula/$RC_SVCNAME.$port.pid"
depend() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment