Try 
*ExecStart=/bin/sh monScript.sh*

aslo use
Type=idle

to prevent starting the scrip[t to early


On Thursday, 17 July 2014 17:08:52 UTC+2, [email protected] wrote:
>
> So i have a Beagle Bone Black linked to an HDMI screen via HDMI (it works) 
> and a ssh access via USB.
> I have a basic network script to lauch when the beagle bone power on. The 
> script is working fine when started "manually" via ssh.
>
> Followed this tuto http://mattrichardson.com/BeagleBone-System-Services/ 
> but when the bbb reboot the script isn't launched at all.
>
> *root@beaglebone:/lib/systemd/*
>
>
>
>
>
>
>
>
>
>
>
> *system# ls -la | grep monService.service -rwxrwxrwx  1 root  root    242 
> Jan  1 06:33 monService.serviceroot@beaglebone:/lib/systemd/system# cat 
> monService.service [Unit] 
> Description=blabla[Service]WorkingDirectory=/home/root/ExecStart=/monScript.shRemainAfterExit=yes[Install]WantedBy=multi-user.target*
>
>
>
> status when started :
>
> monService.service - blabla
>       Loaded: loaded (/lib/systemd/system/monService.service; enabled)
>       Active: active (exited) (Result: exit-code) since Sat 2000-01-01 
> 06:35:59 CET; 28min ago
>     Main PID: 132 (code=exited, status=203/EXEC)
>       CGroup: name=systemd:/system/monService.service
>
> Jan 01 06:40:01 beaglebone systemd[1]: Started blabla
> Jan 01 06:40:16 beaglebone systemd[1]: Started blabla
>
> Any help would be nice !
>

-- 
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.

Reply via email to