运行systemctl restart ...时调用的单元文件中是否存在ExecStop指令systemctl restart ...或者仅在执行文字systemctl stop ...时调用?
systemctl restart ...
systemctl stop ...
行为没有在loggingsystemctl restart的systemd文档中或ExecStop=文档中指定。 我用systemd 开了一个问题来澄清上游的行为。
systemctl restart
systemd
ExecStop=