Ask Your Question

systemd: ExecStop?

asked 2017-11-13 20:36:10 +0000

toddandmargo gravatar image

Dear Ask Fedora,

Some questions on systemd scripts

1) what is their official name?

2) if you do not have a "ExecStop" line, what does "systemctl stop xxx" do when called?

3) if you do not have a "ExecReload" line, what does "systemctl reload xxx" do when called?

Many thanks, -T

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-11-14 07:18:23 +0000

masteroman gravatar image

I believe you're referring to the systemd.service files.

That same page should provide you with answers for all of the other questions:

edit flag offensive delete link more


That is a beautiful reference. Thank you!

"Since no ExecStop= was specified, systemd will send SIGTERM to all processes started from this service, and after a timeout also SIGKILL. This behavior can be modified, see systemd.kill(5) for details."

There was no explaining of what happens where there is no "ExecReload" line.

So the question is only half answered.

toddandmargo ( 2017-11-14 09:18:45 +0000 )edit

In recent enough version of systemd it will simply print out the error:

[ivan@kirk ~]$ sudo systemctl reload bluetooth
Failed to reload bluetooth.service: Job type reload is not applicable for unit bluetooth.service.
See system logs and 'systemctl status bluetooth.service' for details.
masteroman ( 2017-11-15 13:04:26 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2017-11-13 20:36:10 +0000

Seen: 55 times

Last updated: Nov 14 '17