Embest SBC8600B User Manual page 91

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

Embest Technology Co., Ltd
Auto starting application
3.
Follow below steps to make the application /home/userProgram auto starting and
restart system when all of them finished.
A creating a service file
root@arm:~# vi /etc/systemd/system/user.service
[Unit]
Description=user program
Documentation=user
After=network.target remote-fs.target
[Service]
Type=forking
PIDFile=/run/user.pid
ExecStart=/home/userPrgram
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target
B Enabling the service
root@arm:~# systemctl enable user.service; sync
The command will create a symlink
etc/systemd/system/multi-user.target.wants/user.service
linked from /etc/systemd/system/user.service.
C Restart system
Disable LCD cursor blinking
4.
LCD cursor will blink by default. To disable the blinking, follow below instruction.
root@arm:~# echo 0 > /sys/class/graphics/fbcon/cursor_blink
Copyright © 2017 Embest Technology
SBC8600B-UM-V2.0
84

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SBC8600B and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents