bareos2015: bareos-14.2 8243f8aa
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
joergs | mvwieringen | bareos-14.2 | 2014-04-02 17:45 | bareos-14.2 1910f906 | Pending |
Changeset | handle Debian start scripts by dh_installinit the Debian package build mechanism (used for Debian, Ubuntu, Univention) offers support functions to handle daemon init scripts. This patch uses this mechanism. It also adapts the behavior of RPM packages to be identical to DEB packages. Changed behaviour: bareos-dir, bareos-sd and bareos-fd are enabled on install/update On install, daemons are normally not configured and therefore automatic activation often not useful. However, this the the default behavior of Debian and therefore we configured it in this way. bareos-fd is started/restarted on install/update bareos-dir and bareos-sd are not restarted, to prevent canceling running jobs. bareos-dir, bareos-sd and bareos-fd are stopped on deinstall When doing an install from source (make, make install) on Debian, init scripts will not be installed. An extra call "make install-autostart" is required. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||||
mod - .travis.yml | Diff File | ||||
mod - autoconf/configure.in | Diff File | ||||
mod - debian/bareos-director.install | Diff File | ||||
mod - debian/bareos-director.postinst | Diff File | ||||
mod - debian/bareos-director.prerm | Diff File | ||||
mod - debian/bareos-filedaemon.install | Diff File | ||||
mod - debian/bareos-filedaemon.postinst | Diff File | ||||
mod - debian/bareos-filedaemon.prerm | Diff File | ||||
mod - debian/bareos-storage.install | Diff File | ||||
mod - debian/bareos-storage.postinst | Diff File | ||||
mod - debian/bareos-storage.prerm | Diff File | ||||
mod - debian/rules | Diff File | ||||
mod - debian/univention-bareos-schema.postinst | Diff File | ||||
mod - debian/univention-bareos.postinst | Diff File | ||||
mod - debian/univention-bareos.postrm | Diff File | ||||
mod - debian/univention-bareos.preinst | Diff File | ||||
mod - debian/univention-bareos.prerm | Diff File | ||||
mod - platforms/debian/Makefile.in | Diff File | ||||
mod - platforms/packaging/bareos-RHEL_4.spec | Diff File | ||||
mod - platforms/packaging/bareos.spec | Diff File |