Fix systemd dependencies.

This commit is contained in:
Andreas Schneider 2011-11-07 13:23:46 +01:00
parent 6e01ccd9d4
commit 51df79e1e6
4 changed files with 20 additions and 9 deletions

View File

@ -1,4 +1,4 @@
%define main_release 74
%define main_release 75
%define samba_version 3.6.1
%define tdb_version 1.2.9
%define talloc_version 2.0.5
@ -667,6 +667,10 @@ fi
%{_datadir}/pixmaps/samba/logo-small.png
%changelog
* Fri Nov 04 2011 Andreas Schneider <asn@redhat.com> - 1:3.6.1-75
- Fix systemd dependencies
- resolves: #751397
* Wed Oct 26 2011 Andreas Schneider <asn@redhat.com> - 1:3.6.1-74
- Update to 3.6.1

View File

@ -1,6 +1,14 @@
# Options to smbd
SMBDOPTIONS="-D"
# Options to nmbd
NMBDOPTIONS="-D"
# Options for winbindd
## Path: Network/Samba
## Description: Samba process options
## Type: string
## Default: ""
## ServiceRestart: smb
SMBDOPTIONS=""
## Type: string
## Default: ""
## ServiceRestart: nmb
NMBDOPTIONS=""
## Type: string
## Default: ""
## ServiceRestart: winbind
WINBINDOPTIONS=""

View File

@ -1,6 +1,6 @@
[Unit]
Description=Samba SMB Daemon
After=syslog.target network.target
After=syslog.target network.target nmb.service winbind.service
[Service]
Type=forking

View File

@ -1,7 +1,6 @@
[Unit]
Description=Samba Winbind Daemon
Requires=smb.service nmb.service
After=syslog.target network.target smb.service nmb.service
After=syslog.target network.target nmb.service
[Service]
Type=forking