Score:0

Is systemctl restart the same as systemctl stop/start?

ru flag

Is systemctl restart foo.target equivalent to this?

systemctl stop foo.target
systemctl start foo.target

Suppose we have a simple layout:

foo.target
|- bar.service
|- baz.service
|- qux.service

using PartOf=foo.target, however bar.service takes 10 seconds to clean up and exit following SIGTERM. Does the underlying start qux.service wait until everything is stopped, or is the target restart equivalent to 3 parallel/independent service restarts?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.