[systemd-devel] Method to Wait for service to complete

Harry Goldschmitt Harry.Goldschmitt at quantum.com
Wed Aug 12 11:34:46 PDT 2015


I have a service that has to complete before boot can continue. Is there an "approved" method for doing this?

I have an ugly solution I've come up with... I've created a foo.target to run my foo.service and set the default.target to my foo.target. After my foo.service completes, I'm issuing "systemctl isolate multi-user" to complete the boot.

Any help would be appreciated.

Harry

----------------------------------------------------------------------
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150812/f3c33ed6/attachment.html>


More information about the systemd-devel mailing list