pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


codesys3-rt.service disables ttymxc4, try#001
Posted by Anonymous on Mon 29th Apr 2019 14:04
raw | new post

  1. [Unit]
  2. Description=CoDeSys 3 runtime
  3. # - multi-user.target is required to ensure codesys only runs when all
  4. # other stuff like logins&co are ready
  5. # - we cannot use application.target here since it causes a dependicy loop
  6. # - getty.target is required so we wait until all logins are active,
  7. # including those using the serial lines, before we start cdesyscontrol,
  8. # which itself might mess with the serial lines
  9. After=basic.target local-fs.target multi-user.target getty.target var-dyn.mount var-stat.mount
  10. Requires=systemd-modules-load.service ubi-check-partitions.service var-dyn.mount var-stat.mount
  11. Conflicts=testing.target emvtest.target maintenance.target
  12.  
  13. [Service]
  14. Type=notify
  15. Restart=always
  16. RestartSec=3
  17. TimeoutStartSec=120
  18. TimeoutStopSec=1
  19. WorkingDirectory=/home
  20. ControlGroup=cpu:/
  21. #CPUSchedulingPolicy=fifo
  22. #CPUSchedulingPriority=50
  23. LimitNICE=infinity
  24. LimitRTPRIO=infinity
  25. LimitRTTIME=infinity
  26. LimitCPU=infinity
  27. LimitMSGQUEUE=infinity
  28. Environment=CODESYS_RT_BIN_PATH=/usr/bin
  29. Environment=CODESYS_RT_LIB_PATH=/usr/lib
  30. Environment=CODESYS_RT_EXECUTABLE=codesyscontrol
  31. Environment=CODESYS_RT_HOME=/home
  32. Environment=CODESYS_RT_APP=Application.app
  33. Environment=CODESYS_RT_OUTPUT=/dev/console
  34. Environment=LD_LIBRARY_PATH=/usr/lib
  35. EnvironmentFile=/etc/os-release
  36. ExecStartPre=/bin/systemctl stop serial-getty@ttymxc4.service
  37. ExecStopPost=/bin/systemctl start serial-getty@ttymxc4.service
  38. ExecStart=/usr/bin/codesyscontrol

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at