- [Unit]
- Description=CoDeSys 3 runtime
- # - multi-user.target is required to ensure codesys only runs when all
- # other stuff like logins&co are ready
- # - we cannot use application.target here since it causes a dependicy loop
- # - getty.target is required so we wait until all logins are active,
- # including those using the serial lines, before we start cdesyscontrol,
- # which itself might mess with the serial lines
- After=basic.target local-fs.target multi-user.target getty.target var-dyn.mount var-stat.mount
- Requires=systemd-modules-load.service ubi-check-partitions.service var-dyn.mount var-stat.mount
- Conflicts=testing.target emvtest.target maintenance.target
- [Service]
- Type=notify
- Restart=always
- RestartSec=3
- TimeoutStartSec=120
- TimeoutStopSec=1
- WorkingDirectory=/home
- ControlGroup=cpu:/
- #CPUSchedulingPolicy=fifo
- #CPUSchedulingPriority=50
- LimitNICE=infinity
- LimitRTPRIO=infinity
- LimitRTTIME=infinity
- LimitCPU=infinity
- LimitMSGQUEUE=infinity
- Environment=CODESYS_RT_BIN_PATH=/usr/bin
- Environment=CODESYS_RT_LIB_PATH=/usr/lib
- Environment=CODESYS_RT_EXECUTABLE=codesyscontrol
- Environment=CODESYS_RT_HOME=/home
- Environment=CODESYS_RT_APP=Application.app
- Environment=CODESYS_RT_OUTPUT=/dev/console
- Environment=LD_LIBRARY_PATH=/usr/lib
- EnvironmentFile=/etc/os-release
- ExecStartPre=/bin/systemctl stop serial-getty@ttymxc4.service
- ExecStopPost=/bin/systemctl start serial-getty@ttymxc4.service
- ExecStart=/usr/bin/codesyscontrol
codesys3-rt.service disables ttymxc4, try#001
Posted by Anonymous on Mon 29th Apr 2019 14:04
raw | new post
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.