]> sourceware.org Git - systemtap.git/commitdiff
RHBZ 847285: Don't allow 'systemctl reload'.
authorDave Brolley <brolley@redhat.com>
Wed, 12 Feb 2014 21:03:51 +0000 (16:03 -0500)
committerDave Brolley <brolley@redhat.com>
Wed, 12 Feb 2014 21:13:43 +0000 (16:13 -0500)
'reload' is not supported by the stap-server script. The
ExecReload line in stap-server.service was calling
'stap-server restart' which stops the server and starts a
new one. This behavior is not expected or tolerated by systemd
which promptly sends SIGKILL to the new server.

We cannot supported 'reload' in systemctl. Note that 'restart'
is supported and works properly.

stap-server.service

index 000ee743315090e1ea582a9374e23dfdd9fa7878..76e21961433f6b240dfcc54e39a4ea40894ecfed 100644 (file)
@@ -8,7 +8,6 @@ After=network.target avahi-daemon.service
 Type=oneshot
 User=stap-server
 ExecStart=/usr/bin/stap-server start
-ExecReload=/usr/bin/stap-server restart
 ExecStop=/usr/bin/stap-server stop
 RemainAfterExit=yes 
  
This page took 0.026397 seconds and 5 git commands to generate.