Author: renodr
Date: Tue Oct 15 18:59:30 2019
New Revision: 22254

Log:
systemd-units: Update the Samba unit to use the correct binary, defaults file, 
and PID file.

Modified:
   trunk/systemd-units/ChangeLog
   trunk/systemd-units/blfs/units/samba.service

Modified: trunk/systemd-units/ChangeLog
==============================================================================
--- trunk/systemd-units/ChangeLog       Tue Oct 15 15:27:47 2019        (r22253)
+++ trunk/systemd-units/ChangeLog       Tue Oct 15 18:59:30 2019        (r22254)
@@ -1,6 +1,7 @@
 2019-10-15 Douglas R. Reno <ren...@linuxfromscratch.org>
    * Remove the PIDFile argument from httpd as it is no longer needed.
    * Remove git-daemon service since we no longer support it.
+   * Fix the Samba unit to use the correct PID file and binary location.
 
 2019-10-01 Douglas R. Reno <ren...@linuxfromscratch.org>
    * Remove obsolete kdm service

Modified: trunk/systemd-units/blfs/units/samba.service
==============================================================================
--- trunk/systemd-units/blfs/units/samba.service        Tue Oct 15 15:27:47 
2019        (r22253)
+++ trunk/systemd-units/blfs/units/samba.service        Tue Oct 15 18:59:30 
2019        (r22254)
@@ -4,9 +4,9 @@
 
 [Service]
 Type=forking
-EnvironmentFile=/etc/defaults/samba
-PIDFile=/var/run/samba.pid
-ExecStart=/usr/bin/samba $SAMBA_OPTS
+EnvironmentFile=/etc/default/samba
+PIDFile=/run/samba.pid
+ExecStart=/usr/sbin/samba $SAMBA_OPTS
 ExecReload=/usr/bin/kill -HUP $MAINPID
 
 [Install]
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to