It looks like you are programming that you want your service to start "Before" Networking Service.
>From your description, you want your service to start "After" Networking Service. You can also use systemd.timer to wait an absolute amount of time after the start of booting. Something around 25 to 30 seconds allows everything to boot and stabilize before starting your service. Search for systemd.timer --- Graham == On Friday, August 28, 2015 at 11:57:58 AM UTC-5, [email protected] wrote: > > I am trying to create a systemd service to start before or in parallel > with networking in the boot process. > I have tried a bunch of variations to try to get my script to start early > that don't work. > > This may be getting it to start early but then networking doesn't work. > This is running /bin/true to be sure its not my script messing things up. > > [Unit] > Description=MFM Emulator > Before=networking.service > > [Service] > ExecStart=/bin/true > > I then get this error and ethernet isn't set up. > > ifup[530]: /sbin/ifup: failed to open statefile /run/network/ifstate: No > such file or directory > > Anyone know how to properly do this? > > For now I went back to using init scripts which was easy to get it to do > what I wanted. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
