Ideally, this should be supported by systemd somehow. There is this
(old) discussion upstream, which is relevant here:
https://github.com/systemd/systemd/issues/2175

If we introduced the desired behavior by including an ExecStop script to
the systemd unit configuration file, we would introduce a regression
since stopping the service for erroneous configuration files would not
be allowed (this was not the behavior for sysV).

** Bug watch added: github.com/systemd/systemd/issues #2175
   https://github.com/systemd/systemd/issues/2175

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913810

Title:
  restart doesn't test for syntax errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1913810/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to