awlsim-server.service.in 382 B

1234567891011121314151617181920
  1. [Unit]
  2. Description=Awlsim soft-PLC core server
  3. After=syslog.target
  4. After=network.target
  5. [Service]
  6. Type=simple
  7. TimeoutSec=300
  8. User=@USER@
  9. Group=@GROUP@
  10. Nice=-15
  11. ExecStart=@PREFIX@/bin/awlsim-server -l localhost -4 -w @PROJECT@
  12. ExecStartPost=-@PREFIX@/bin/awlsim-client -C localhost -r RUN
  13. Environment=PYTHONPATH=@PYTHON_SITE@ AWLSIM_CYTHON=1
  14. [Install]
  15. WantedBy=multi-user.target