The Samba-Bugzilla – Attachment 8038 Details for
Bug 9280
Add support for reloading the daemons using systemctl reload
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v4-0-test patch
0001-packaging-Add-support-for-reloading-systemd-services.patch (text/plain), 2.04 KB, created by
Andreas Schneider
on 2012-10-10 09:56:36 UTC
(
hide
)
Description:
v4-0-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2012-10-10 09:56:36 UTC
Size:
2.04 KB
patch
obsolete
>From 285423085ffbfc96d7a475d168690ab83ac79e86 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Wed, 10 Oct 2012 11:30:15 +0200 >Subject: [PATCH] packaging: Add support for reloading systemd services. > > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > packaging/systemd/nmb.service | 1 + > packaging/systemd/samba.service | 1 + > packaging/systemd/smb.service | 1 + > packaging/systemd/winbind.service | 1 + > 4 files changed, 4 insertions(+) > >diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service >index a2ecd22..e5e81a1 100644 >--- a/packaging/systemd/nmb.service >+++ b/packaging/systemd/nmb.service >@@ -7,6 +7,7 @@ Type=forking > PIDFile=/run/nmbd.pid > EnvironmentFile=-/etc/sysconfig/samba > ExecStart=/usr/sbin/nmbd $NMBDOPTIONS >+ExecReload=/usr/bin/kill -HUP $MAINPID > > [Install] > WantedBy=multi-user.target >diff --git a/packaging/systemd/samba.service b/packaging/systemd/samba.service >index d2db18c..e2878d1 100644 >--- a/packaging/systemd/samba.service >+++ b/packaging/systemd/samba.service >@@ -8,6 +8,7 @@ PIDFile=/run/samba.pid > LimitNOFILE=16384 > EnvironmentFile=-/etc/sysconfig/samba > ExecStart=/usr/sbin/samba $SAMBAOPTIONS >+ExecReload=/usr/bin/kill -HUP $MAINPID > > [Install] > WantedBy=multi-user.target >diff --git a/packaging/systemd/smb.service b/packaging/systemd/smb.service >index 70d9842..d0d945a 100644 >--- a/packaging/systemd/smb.service >+++ b/packaging/systemd/smb.service >@@ -8,6 +8,7 @@ PIDFile=/run/smbd.pid > LimitNOFILE=16384 > EnvironmentFile=-/etc/sysconfig/samba > ExecStart=/usr/sbin/smbd $SMBDOPTIONS >+ExecReload=/usr/bin/kill -HUP $MAINPID > > [Install] > WantedBy=multi-user.target >diff --git a/packaging/systemd/winbind.service b/packaging/systemd/winbind.service >index 9ce1b52..eff266f 100644 >--- a/packaging/systemd/winbind.service >+++ b/packaging/systemd/winbind.service >@@ -7,6 +7,7 @@ Type=forking > PIDFile=/run/winbindd.pid > EnvironmentFile=-/etc/sysconfig/samba > ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS" >+ExecReload=/usr/bin/kill -HUP $MAINPID > > [Install] > WantedBy=multi-user.target >-- >1.7.12.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
kseeger
:
review+
Actions:
View
Attachments on
bug 9280
: 8038 |
8039