robertsmaria934 , there appears to be no text in your message. On Sat, Jan 21, 2017 at 5:15 PM, robertsmaria934 via BeagleBoard < [email protected]> wrote:
> > -------------------------------------------- > On Sat, 1/21/17, William Hermans <[email protected]> wrote: > > Subject: Re: [beagleboard] Re: Beagle expertise needed > To: [email protected] > Date: Saturday, January 21, 2017, 10:57 PM > > You need something like this: > > [Unit] > Description=imu output > After=network.target > > [Service] > ExecStart=/usr/bin/imuout.sh > Type=oneshot > > [install] > WantedBy=network.target > > All the rest of that > "garbage" is exactly that - Garbage. Your script > can deal with working directory, and not outputting to > terminal if that's what you wish. Then you simply . . > . > > systemctl > daemon-reload > systemctl enable <service > name> --now > > Making > sure that service-name.service exists in /lib/systemd/system/ > > As far as what target you need, well that > I don't know. I have no clue what an IMU *is* in the > context of Nodered, and no idea what you're trying to > do. However, if you need your service to run, and all it > requires is a network to be established. The above should > work. > > > > On Sat, Jan 21, 2017 at > 1:32 PM, Richard Maurer <[email protected]> > wrote: > Yup, been all over searches for systemd, and tried > different options. Here is my current script > /lib/systemd/system/imuout. service: > [Unit]Description=imu > output#Wants=network.target#After=syslog.target > network.target > [Service]#Type=simple#User=root#Group=root#Nice= > 5ExecStart=/usr/bin/imuout.shWorkingDirectory=/home/ > tinkerforge/Example_project/StandardOutput=null > [install]WantedBy=multi-user.targetAlias=imuout.service > > > with the same error with various > options above attempted and commented out > > On Sat, Jan 21, 2017 at 3:27 PM, > William Hermans <[email protected]> > wrote: > If you're > trying to enable, thus "install" a service with > systemctl You need a Wantedby target. > > But just google: "how to > systemd" + <whichever search term you need> and > you'll probably be greated by way more hits than > you'll ever need. > > On Sat, Jan 21, > 2017 at 12:40 PM, Richard Maurer <[email protected]> > wrote: > FYI, I ended up implementing the solution exactly > as I had hoped -- One Beagle Green wireless as client, > another Beagle hooked via ethernet to an AP as server, and > using Nodered to TCP between the two. It's working > nearly exactly as I want except that I seem to be unable to > establish a service on the BBG wireless (needed to execute a > .py program to run an IMU. It's giving me a The > unit files have no installation config (WantedBy, > RequiredBy, Also, Alias....error when I try to > enable the service. Not sure why, as I was able to enable > the Nodered service, using their code and installation > guide. I've seen a number of recent similar errors > that have been reported in bug reports, so I might be doing > the installation correctly, but just can't figure out > what is different in the node-red service. > Anyway thanks for the inputs, offers, and > suggestions. > On Thu, Jan 12, 2017 > at 1:35 PM, TJF <[email protected]> > wrote: > > Am Donnerstag, 12. Januar > 2017 18:56:26 UTC+1 schrieb Richard > Maurer:So... gotta go with > what is easiest for me to > understand. > That's why I introduced the ESP > solution. > > It's > plug-and-play when you spend a few further bugs and buy a > developers board like nodeMCU. > You plug in the USB, start a terminal and you'll also > see what's going on with it in the Lua interpreter. > > For my engineers mind, this > solution will provide faster results. You can focus on the > necessary features and use a lot of-the-shelf features. > > Anyway, it's your > decision. Good luck for your project. > > > > > -- > > For more options, visit http://beagleboard.org/discuss > > --- > > You received this message because you are subscribed to a > topic in the Google Groups "BeagleBoard" group. > > To unsubscribe from this topic, visit https://groups.google.com/d/to > pic/beagleboard/59BZEmeiSIE/un subscribe. > > To unsubscribe from this group and all its topics, send an > email to beagleboard+unsubscribe@google > groups.com. > > To view this discussion on the web visit https://groups.google.com/d/ms > gid/beagleboard/ae0f51f5-5df9- > 4cb5-96a6-1d72d6f01c38%40googl egroups.com. > > For more options, visit https://groups.google.com/d/op > tout. > > > > > > > -- > > 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 beagleboard+unsubscribe@google > groups.com. > > To view this discussion on the web visit https://groups.google.com/d/ms > gid/beagleboard/CAMYVp3kFTEVCp > uxaX1QsftdgJY7VZ2ScVJ%2BpnZxSc > a4Zzo8-gA%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/op > tout. > > > > > > > -- > > For more options, visit http://beagleboard.org/discuss > > --- > > You received this message because you are subscribed to a > topic in the Google Groups "BeagleBoard" group. > > To unsubscribe from this topic, visit https://groups.google.com/d/to > pic/beagleboard/59BZEmeiSIE/un subscribe. > > To unsubscribe from this group and all its topics, send an > email to beagleboard+unsubscribe@google > groups.com. > > To view this discussion on the web visit https://groups.google.com/d/ms > gid/beagleboard/CALHSORqYhrGuF > 6%2B6QAmB9UQizeTB2nFbj5Fm3ghOJ > QTCN3Hgcg%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/op > tout. > > > > > > > -- > > 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 beagleboard+unsubscribe@ > googlegroups.com. > > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/CAMYVp3% 3DcqtKrP__0nDEk_F- > oLMfXnMqEskwtVMGr8nKtYbAP%2BQ% 40mail.gmail.com. > > For more options, visit https://groups.google.com/d/ > optout. > > > > > > > -- > > 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]. > > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/CALHSORqoioc6hXDG%3Dwy67o4ALZLv3MTXNz_ > roDs6y4wxyhGX2Q%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. > 1proprietate funciara nu s-a specializat in exportul de cereale. Cele 12 > zile de claca statuate inca din vremea lui Constantin Mavrocordat au fost > mai mereu inlocuite cu un volum de munca reciproc convenabil prin buna > invoiala de multe ori convertit in bani in Moldova de la 1 leu la 2 lei > in tara Romaneasca cresterea a urcat pana la 1 leu spre 1818 . > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/beagleboard/59BZEmeiSIE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/734553619.1068215.1485036907730%40mail.yahoo.com. > For more options, visit https://groups.google.com/d/optout. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAMYVp3n0kf0VSpMt8WAeqkameZiyOjv%3DQVXMtof3%3DQfVRBrvvw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
