Changes

BeagleBone

363 bytes added, 16:24, 5 October 2015
Make a Service
<syntaxhighlight lang="bash">
cd /etc/systemd/system/
ln /lib/systemd/system/cvxmirror.service cvxmirror.service
</syntaxhighlight>
make system take notice:
systemctl enable cvxmirror.service
</syntaxhighlight>
 
'''Run and don't exit'''
call bash afterwards. it will keep the screen process open
<syntaxhighlight lang="bash">
/usr/bin/screen -dmS printing bash -c '/home/debian/children/okidata_udp_server.py; exec bash'
</syntaxhighlight>
'''Run service on network boot'''
<syntaxhighlight lang="bash">
After=syslog.target network-online.target
</syntaxhighlight>
 
 
http://www.nunoalves.com/open_source/?p=308