samba: update systemd service files
PATCH 1/1 samba: update systemd service files
From: Kai Kang <[email protected]>
Update systemd service files of samba. There are no '@BASE_BINDIR@' and '@SBINDIR@' in these service files, so drop the original replacement. Command kill is installed to /bin/kill, then correct in the service files.
--- meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +1 -3
@@ -112,9 +112,7 @@ do_install_append() { for i in nmb smb winbind; do install -m 0644 packaging/systemd/$i.service ${D}${systemd_unitdir}/system done - sed -e 's,@BASE_BINDIR@,${base_bindir},g' \ - -e 's,@SBINDIR@,${sbindir},g' \ - -i ${D}${systemd_unitdir}/system/*.service + sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_unitdir}/system/*.service install -d ${D}${sysconfdir}/tmpfiles.d echo "d ${localstatedir}/log/samba 0755 root root -" \
Signature · 1 line
2.6.1
Quoted 5 lines · On 2016年01月27日 14:30, [email protected] wrote:
From: Kai Kang <[email protected]>
Update systemd service files of samba. There are no '@BASE_BINDIR@' and '@SBINDIR@' in these service files, so drop the original replacement. Command kill is installed to
/bin/kill, then correct in the service files.
Ping.
--Kai
Quoted 21 lines
Signed-off-by Kai Kang <[email protected]>--- meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +1
-3@@ -112,9 +112,7 @@ do_install_append() { for i in nmb smb winbind; do install -m 0644 packaging/systemd/$i.service ${D}${systemd_unitdir}/system done - sed -e 's,@BASE_BINDIR@,${base_bindir},g' \ - -e 's,@SBINDIR@,${sbindir},g' \ - -i ${D}${systemd_unitdir}/system/*.service + sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_unitdir}/system/*.service install -d ${D}${sysconfdir}/tmpfiles.d echo "d ${localstatedir}/log/samba 0755 root root -" \
Signature · 2 lines
Regards, Neil | Kai Kang
Quoted 8 lines · Kang Kai
Quoted 5 lines · On 2016年01月27日 14:30, [email protected] wrote:
From: Kai Kang <[email protected]>
Update systemd service files of samba. There are no '@BASE_BINDIR@' and '@SBINDIR@' in these service files, so drop the original replacement. Command kill is installed to
/bin/kill, then correct in the service files.Ping.
Ping.
Quoted 27 lines
--Kai
Quoted 22 lines
Signed-off-by Kai Kang <[email protected]>--- meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +0
-0@@ -112,9 +112,7 @@ do_install_append() { for i in nmb smb winbind; do install -m 0644 packaging/systemd/$i.service${D}${systemd_unitdir}/system
donemeta-networking/recipes-connectivity/samba/samba_4.1.12.bb +1
-3- sed -e 's,@BASE_BINDIR@,${base_bindir},g' \ - -e 's,@SBINDIR@,${sbindir},g' \ - -i ${D}${systemd_unitdir}/system/*.service + sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,'${D}${systemd_unitdir}/system/*.service
install -d ${D}${sysconfdir}/tmpfiles.d echo "d ${localstatedir}/log/samba 0755 root root -" \
Signature · 2 lines
Regards, Neil | Kai Kang