atomic-openshift-node.service.j2 593 B

12345678910111213141516171819202122
  1. [Unit]
  2. Description=Atomic OpenShift Node
  3. After={{ openshift.docker.service_name }}.service
  4. After=openvswitch.service
  5. Wants={{ openshift.docker.service_name }}.service
  6. Documentation=https://github.com/openshift/origin
  7. [Service]
  8. Type=notify
  9. EnvironmentFile=/etc/sysconfig/atomic-openshift-node
  10. Environment=GOTRACEBACK=crash
  11. ExecStart=/usr/bin/openshift start node --config=${CONFIG_FILE} $OPTIONS
  12. LimitNOFILE=65536
  13. LimitCORE=infinity
  14. WorkingDirectory=/var/lib/origin/
  15. SyslogIdentifier=atomic-openshift-node
  16. Restart=always
  17. RestartSec=5s
  18. OOMScoreAdjust=-999
  19. [Install]
  20. WantedBy=multi-user.target