Re: Delay service startup but only on boot

2020-12-03 Thread Robert Marcano via devel
On 12/3/20 9:44 AM, Richard Shaw wrote: On Thu, Dec 3, 2020 at 2:41 AM Gargoyle > wrote: On 02/12/2020 16:09, Richard Shaw wrote: Nope, it's an external networked device. They always "boot up" at the same time, but the computer which runs the service boots

Re: Delay service startup but only on boot

2020-12-03 Thread Gargoyle
The service starts and tries to connect but the other system is up far enough yet to receive connections so it just fails. The only solution so far is to restart the service manually later, which

Re: Delay service startup but only on boot

2020-12-03 Thread Richard Shaw
On Thu, Dec 3, 2020 at 2:41 AM Gargoyle wrote: > On 02/12/2020 16:09, Richard Shaw wrote: > > Nope, it's an external networked device. They always "boot up" at the same > time, but the computer which runs the service boots up faster than the > device I need to connect to. > > What difference

Re: Delay service startup but only on boot

2020-12-03 Thread Gargoyle
On 02/12/2020 16:09, Richard Shaw wrote: Nope, it's an external networked device. They always "boot up" at the same time, but the computer which runs the service boots up faster than the device I need to connect to. What difference does that make -

Re: Delay service startup but only on boot

2020-12-02 Thread Matthew Miller
On Wed, Dec 02, 2020 at 10:09:52AM -0600, Richard Shaw wrote: > Nope, it's an external networked device. They always "boot up" at the same > time, but the computer which runs the service boots up faster than the > device I need to connect to. This might be overdoing it, but maybe make a oneshot

Re: Delay service startup but only on boot

2020-12-02 Thread Richard Shaw
On Wed, Dec 2, 2020 at 10:02 AM Lennart Poettering wrote: > On Mi, 02.12.20 09:56, Richard Shaw (hobbes1...@gmail.com) wrote: > > > I've got a SystemD service file that starts a service, the problem is it > > connects to another device that takes longer to boot up into a "ready" > > state than

Re: Delay service startup but only on boot

2020-12-02 Thread Lennart Poettering
On Mi, 02.12.20 09:56, Richard Shaw (hobbes1...@gmail.com) wrote: > I've got a SystemD service file that starts a service, the problem is it > connects to another device that takes longer to boot up into a "ready" > state than the computer with the service. > > I could just add a

Delay service startup but only on boot

2020-12-02 Thread Richard Shaw
I've got a SystemD service file that starts a service, the problem is it connects to another device that takes longer to boot up into a "ready" state than the computer with the service. I could just add a "ExecStartPre=/usr/bin/sleep 30" to the service file, but will it delay for 30 seconds on