summaryrefslogtreecommitdiff
path: root/packaging/systemd/nmb.service
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-10-10 11:30:15 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-10-11 17:07:19 +0200
commit49959cffc5717764cc4a5a654eab63bfe5f21603 (patch)
tree0c9ad7439475a6c676d1a7cff03072236d4d3b7a /packaging/systemd/nmb.service
parentc2d14747d608d406de6410556807d467cd0b85ef (diff)
downloadsamba-49959cffc5717764cc4a5a654eab63bfe5f21603.tar.gz
samba-49959cffc5717764cc4a5a654eab63bfe5f21603.tar.bz2
samba-49959cffc5717764cc4a5a654eab63bfe5f21603.zip
packaging: Add support for reloading systemd services.
Diffstat (limited to 'packaging/systemd/nmb.service')
-rw-r--r--packaging/systemd/nmb.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service
index a2ecd22d59..e5e81a1fc7 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