fixed restart option in service files

This commit is contained in:
Lukas Nykryn 2011-10-21 09:07:37 +02:00
parent 9911beee7d
commit baeeb20a84
4 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 <lnykryn@redhat.com> - 5.0.3-12
- fixed restart option in service files (#745529)
* Fri Sep 9 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-11
- add missing scriptlets