Thank you for the quick reply!
> There would be no benefit to doing that, because oneshots do not have
> instances, so any up or down script knows exactly what service it is
> starting or stopping.
I could think of one benefit:
Symlinking the oneshot service directory with other names,
e.g. having a oneshot script for setting up the network
and symlinking it for different interfaces, so that a change
does not have to be made in all the copied scripts
(of course its unlikely to have enough interfaces
to justify this, but it conveys the idea).
Regards
Paul
Received on Sun Nov 03 2024 - 23:16:56 CET