Am 27.10.2017 um 12:25 schrieb 清辰:
When executing 'service xxx restart', actually systemd will execute
'service xxx start', and then 'service xxx stop'.
But my restart action is different from stop action, can I customize my
'restart'?
no - fix the service
this sounds somehow as you have multiple things in a single service
which should be splitted into several services with Before/After
dependencies or even a own target
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel