atomic-openshift-master-controllers.service.j2 835 B

1234567891011121314151617181920212223242526
  1. [Unit]
  2. Description=Atomic OpenShift Master Controllers
  3. Documentation=https://github.com/openshift/origin
  4. After=network-online.target
  5. After={{ openshift.common.service_type }}-master-api.service
  6. Wants={{ openshift.common.service_type }}-master-api.service
  7. Requires=network-online.target
  8. [Service]
  9. {% if openshift.common.version_gte_3_1_1_or_1_1_1 | bool %}
  10. Type=notify
  11. {% else %}
  12. Type=simple
  13. {% endif %}
  14. EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master-controllers
  15. Environment=GOTRACEBACK=crash
  16. ExecStart=/usr/bin/openshift start master controllers --config=${CONFIG_FILE} $OPTIONS
  17. LimitNOFILE=131072
  18. LimitCORE=infinity
  19. WorkingDirectory={{ r_openshift_master_data_dir }}
  20. SyslogIdentifier={{ openshift.common.service_type }}-master-controllers
  21. Restart=always
  22. RestartSec=5s
  23. [Install]
  24. WantedBy=multi-user.target