]>
Commit | Line | Data |
---|---|---|
1 | --- samba-4.7.4/packaging/systemd/smb.service.in.orig 2017-12-26 18:26:31.457609415 +0100 | |
2 | +++ samba-4.7.4/packaging/systemd/smb.service.in 2017-12-26 18:27:11.460942304 +0100 | |
3 | @@ -8,6 +8,7 @@ | |
4 | PIDFile=@PIDDIR@/smbd.pid | |
5 | LimitNOFILE=16384 | |
6 | EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba | |
7 | +ExecStartPre=/bin/sh -c '[ "`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1`" != "active directory domain controller" ]' | |
8 | ExecStart=@SBINDIR@/smbd --foreground --no-process-group $SMBDOPTIONS | |
9 | ExecReload=/bin/kill -HUP $MAINPID | |
10 | LimitCORE=infinity | |
11 | --- samba-4.7.4/packaging/systemd/nmb.service.in.orig 2017-12-26 18:26:31.457609415 +0100 | |
12 | +++ samba-4.7.4/packaging/systemd/nmb.service.in 2017-12-26 18:27:32.350942051 +0100 | |
13 | @@ -7,6 +7,8 @@ | |
14 | Type=notify | |
15 | PIDFile=@PIDDIR@/nmbd.pid | |
16 | EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba | |
17 | +ExecStartPre=/bin/sh -c '[ "`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1`" != "active directory domain controller" ]' | |
18 | +ExecStartPre=/bin/sh -c '[ "`testparm -s --parameter-name="disable netbios" 2>/dev/null`" != "Yes" ]' | |
19 | ExecStart=@SBINDIR@/nmbd --foreground --no-process-group $NMBDOPTIONS | |
20 | ExecReload=/bin/kill -HUP $MAINPID | |
21 | LimitCORE=infinity | |
22 | --- samba-4.7.4/packaging/systemd/samba.service.in.orig 2017-12-26 18:26:31.457609415 +0100 | |
23 | +++ samba-4.7.4/packaging/systemd/samba.service.in 2017-12-26 18:27:52.774275149 +0100 | |
24 | @@ -8,6 +8,7 @@ | |
25 | PIDFile=@PIDDIR@/samba.pid | |
26 | LimitNOFILE=16384 | |
27 | EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba | |
28 | +ExecStartPre=/bin/sh -c '[ "`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1`" = "active directory domain controller" ]' | |
29 | ExecStart=@SBINDIR@/samba --foreground --no-process-group $SAMBAOPTIONS | |
30 | ExecReload=/bin/kill -HUP $MAINPID | |
31 | @systemd_samba_extra@ |