--- rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz11118-bz11117-bz11157-systemd-update.patch 2021/01/02 04:32:48 1.1 +++ rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz11118-bz11117-bz11157-systemd-update.patch 2021/01/02 05:41:40 1.2 @@ -127,7 +127,7 @@ diff -Nur e-smith-samba-2.6.0.old/root/s diff -Nur e-smith-samba-2.6.0.old/root/usr/lib/systemd/system/nmbd.service e-smith-samba-2.6.0/root/usr/lib/systemd/system/nmbd.service --- e-smith-samba-2.6.0.old/root/usr/lib/systemd/system/nmbd.service 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-samba-2.6.0/root/usr/lib/systemd/system/nmbd.service 2021-01-01 22:59:33.744000000 -0500 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,23 @@ +[Unit] +# When systemd stops or restarts the smb.service, the action is propagated to this unit +PartOf=smb.service @@ -147,6 +147,7 @@ diff -Nur e-smith-samba-2.6.0.old/root/u +ExecReload=/bin/kill -HUP $MAINPID +LimitCORE=infinity +Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba ++Restart=always + +[Install] +WantedBy=sme-server.target @@ -167,7 +168,7 @@ diff -Nur e-smith-samba-2.6.0.old/root/u diff -Nur e-smith-samba-2.6.0.old/root/usr/lib/systemd/system/smbd.service e-smith-samba-2.6.0/root/usr/lib/systemd/system/smbd.service --- e-smith-samba-2.6.0.old/root/usr/lib/systemd/system/smbd.service 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-samba-2.6.0/root/usr/lib/systemd/system/smbd.service 2021-01-01 22:55:00.045000000 -0500 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,28 @@ +[Unit] +Description=Samba SMB Daemon +Documentation=man:smbd(8) man:samba(7) man:smb.conf(5) @@ -192,6 +193,7 @@ diff -Nur e-smith-samba-2.6.0.old/root/u +ExecReload=/bin/kill -HUP $MAINPID +LimitCORE=infinity +Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba ++Restart=always + +[Install] +WantedBy=sme-server.target