127 |
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 |
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 |
128 |
--- 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.old/root/usr/lib/systemd/system/nmbd.service 1969-12-31 19:00:00.000000000 -0500 |
129 |
+++ e-smith-samba-2.6.0/root/usr/lib/systemd/system/nmbd.service 2021-01-01 22:59:33.744000000 -0500 |
+++ e-smith-samba-2.6.0/root/usr/lib/systemd/system/nmbd.service 2021-01-01 22:59:33.744000000 -0500 |
130 |
@@ -0,0 +1,22 @@ |
@@ -0,0 +1,23 @@ |
131 |
+[Unit] |
+[Unit] |
132 |
+# When systemd stops or restarts the smb.service, the action is propagated to this unit |
+# When systemd stops or restarts the smb.service, the action is propagated to this unit |
133 |
+PartOf=smb.service |
+PartOf=smb.service |
147 |
+ExecReload=/bin/kill -HUP $MAINPID |
+ExecReload=/bin/kill -HUP $MAINPID |
148 |
+LimitCORE=infinity |
+LimitCORE=infinity |
149 |
+Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba |
+Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba |
150 |
|
+Restart=always |
151 |
+ |
+ |
152 |
+[Install] |
+[Install] |
153 |
+WantedBy=sme-server.target |
+WantedBy=sme-server.target |
168 |
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 |
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 |
169 |
--- 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.old/root/usr/lib/systemd/system/smbd.service 1969-12-31 19:00:00.000000000 -0500 |
170 |
+++ e-smith-samba-2.6.0/root/usr/lib/systemd/system/smbd.service 2021-01-01 22:55:00.045000000 -0500 |
+++ e-smith-samba-2.6.0/root/usr/lib/systemd/system/smbd.service 2021-01-01 22:55:00.045000000 -0500 |
171 |
@@ -0,0 +1,27 @@ |
@@ -0,0 +1,28 @@ |
172 |
+[Unit] |
+[Unit] |
173 |
+Description=Samba SMB Daemon |
+Description=Samba SMB Daemon |
174 |
+Documentation=man:smbd(8) man:samba(7) man:smb.conf(5) |
+Documentation=man:smbd(8) man:samba(7) man:smb.conf(5) |
193 |
+ExecReload=/bin/kill -HUP $MAINPID |
+ExecReload=/bin/kill -HUP $MAINPID |
194 |
+LimitCORE=infinity |
+LimitCORE=infinity |
195 |
+Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba |
+Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba |
196 |
|
+Restart=always |
197 |
+ |
+ |
198 |
+[Install] |
+[Install] |
199 |
+WantedBy=sme-server.target |
+WantedBy=sme-server.target |
206 |
+ |
+ |
207 |
+[Service] |
+[Service] |
208 |
+Type=oneshot |
+Type=oneshot |
209 |
+NotifyAccess= |
+#NotifyAccess= |
210 |
+PIDFile= |
+#PIDFile= |
211 |
+LimitNOFILE= |
+#LimitNOFILE= |
212 |
+EnvironmentFile= |
+#EnvironmentFile= |
213 |
+ExecStartPre=/sbin/e-smith/service-status smb |
+ExecStartPre=/sbin/e-smith/service-status smb |
214 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/samba/smb.conf |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/samba/smb.conf |
215 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/samba/smbusers |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/samba/smbusers |
218 |
+ExecStart=/bin/true |
+ExecStart=/bin/true |
219 |
+ |
+ |
220 |
+ExecReload= |
+ExecReload= |
221 |
+LimitCORE= |
+#LimitCORE= |
222 |
+# This service shall be considered active after start |
+# This service shall be considered active after start |
223 |
+RemainAfterExit=yes |
+RemainAfterExit=yes |
224 |
+ |
+ |