[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Insert a script into systemd boot order at a specific location



Am 16.03.2015 um 13:54 schrieb Christoph Pleger:
> Hello,
> 
>> What you probably want, is hook into basic.target or sysinit.target, use
>> DefaultDependencies=no, and specify the dependencies/orderings
>> explicitly.
> 
> a post from debian-user-german@lists.debian.org helped me further: I do
> not have to change anything, just calling update-rc.d for my init script
> works, just like it did before in wheezy. I had read that systemd supports
> LSB init scripts, but i did not expect that this compatibility goes so
> far.
> 
> But there is still one problem: The output of my script is not displayed
> on the screen.

I suggest getting it from the journal:

journalctl -u <your_service>.service
where <your_service> means /etc/init.d/<your_service>



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: