[pkg-bacula-devel] 7.4.3+dfsg-4 uploaded to experimental

Sven Hartge sven at svenhartge.de
Mon Aug 29 12:54:25 UTC 2016


On 29.08.2016 13:52, Carsten Leonhardt wrote:

> I expect that the next version can go to unstable again.
> 
> Feedback welcome, as always.

There is one thing we might want to do:

Right now, the systemd unit do something like this:

Environment="CONFIG=/etc/bacula/bacula-dir.conf" "ARGS=-u bacula -g bacula"
EnvironmentFile=-/etc/default/bacula-dir

This presets the environment so sane values before potentially
overriding them from the user configurable file.

I think (and I saw this in several packages) it would be better to have
to good defaults in /usr/share/bacula-PKG/defaults.conf and source this
file from a) the sysv-init script and b) the systemd unit:

EnvironmentFile=/usr/share/bacula-PKG/defaults.conf
EnvironmentFile=-/etc/default/bacula-dir

That way we don't duplicate the default-defaults and can use them in bot
the init script and the systemd unit.

Comments?

Grüße,
Sven.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20160829/20b3354c/attachment.sig>


More information about the pkg-bacula-devel mailing list