Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
bacula52
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
bacula.spec
@@ -275,18 +275,36 @@ rm -rf $RPM_BUILD_ROOT %preun +%if 0%{?suse_version} %stop_on_removal bacula-fd +%else +/sbin/service bacula-fd stop || : +%endif %postun +%if 0%{?suse_version} %restart_on_update bacula-fd %insserv_cleanup +%else +/sbin/service bacula-fd restart || : +%endif %preun server +%if 0%{?suse_version} %stop_on_removal bacula-dir bacula-sd +%else +/sbin/service bacula-dir stop || : +/sbin/service bacula-sd stop || : +%endif %postun server +%if 0%{?suse_version} %restart_on_update bacula-dir bacula-sd %insserv_cleanup +%else +/sbin/service bacula-dir restart || : +/sbin/service bacula-sd restart || : +%endif %post server-mysql if [ -f %{_sbindir}/bacula-dir.mysql ] ;then @@ -311,10 +329,20 @@ %postun server-mysql +%if 0%{?suse_version} %restart_on_update bacula-dir bacula-sd +%else +/sbin/service bacula-dir restart || : +/sbin/service bacula-sd restart || : +%endif %postun server-postgresql +%if 0%{?suse_version} %restart_on_update bacula-dir bacula-sd +%else +/sbin/service bacula-dir restart || : +/sbin/service bacula-sd restart || : +%endif %preun server-mysql if [ $1 == 0 ] ; then