origin-node.service.j2 537 B

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