From baeeb20a845f99014a82634d686761c36042f470 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 21 Oct 2011 09:07:37 +0200 Subject: [PATCH] fixed restart option in service files --- bacula-dir.service | 2 +- bacula-fd.service | 2 +- bacula-sd.service | 2 +- bacula.spec | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bacula-dir.service b/bacula-dir.service index 2ec1dee..2f044af 100644 --- a/bacula-dir.service +++ b/bacula-dir.service @@ -11,7 +11,7 @@ EnvironmentFile=-/etc/sysconfig/bacula-dir ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG ExecStart=/usr/sbin/bacula-dir -f -c $CONFIG -u $DIR_USER -g $DIR_GROUP StandardOutput=syslog -Restart=restart-always +Restart=always [Install] WantedBy=multi-user.target diff --git a/bacula-fd.service b/bacula-fd.service index f2d8ac4..7185c2e 100644 --- a/bacula-fd.service +++ b/bacula-fd.service @@ -12,7 +12,7 @@ ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG ExecStart=/usr/sbin/bacula-fd -f -c $CONFIG -u $FD_USER -g $FD_GROUP IOSchedulingClass=idle StandardOutput=syslog -Restart=restart-always +Restart=always [Install] WantedBy=multi-user.target diff --git a/bacula-sd.service b/bacula-sd.service index 4aec055..57c851d 100644 --- a/bacula-sd.service +++ b/bacula-sd.service @@ -11,7 +11,7 @@ EnvironmentFile=-/etc/sysconfig/bacula-sd ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG ExecStart=/usr/sbin/bacula-sd -f -c $CONFIG -u $SD_USER -g $SD_GROUP StandardOutput=syslog -Restart=restart-always +Restart=always [Install] WantedBy=multi-user.target diff --git a/bacula.spec b/bacula.spec index 9c216f0..c13fe97 100644 --- a/bacula.spec +++ b/bacula.spec @@ -8,7 +8,7 @@ Summary: Cross platform network backup for Linux, Unix, Mac and Windows Name: bacula Version: 5.0.3 -Release: 11%{?dist} +Release: 12%{?dist} # See LICENSE for details License: GPLv2 with exceptions Group: System Environment/Daemons @@ -1069,6 +1069,9 @@ fi %changelog +* Fri Oct 9 2011 Lukáš Nykrýn - 5.0.3-12 +- fixed restart option in service files (#745529) + * Fri Sep 9 2011 Tom Callaway - 5.0.3-11 - add missing scriptlets