Introducing systemd mfg.service
This commit is contained in:
parent
5adc1b90ef
commit
7e9d5f0586
4 changed files with 25 additions and 9 deletions
15
contrib/mfg.service
Normal file
15
contrib/mfg.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Manufacturing service
|
||||
After=serial-getty@ttyS0.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/opt/coins-demo/contrib/firstboot.sh
|
||||
StandardInput=tty
|
||||
TTYPath=/dev/ttyS0
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue