atomic-openshift-master-api.service.j2 700 B

1234567891011121314151617181920212223
  1. [Unit]
  2. Description=Atomic OpenShift Master API
  3. Documentation=https://github.com/openshift/origin
  4. After=network-online.target
  5. After=etcd.service
  6. Before={{ openshift.common.service_type }}-node.service
  7. Requires=network-online.target
  8. [Service]
  9. Type=notify
  10. EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master-api
  11. Environment=GOTRACEBACK=crash
  12. ExecStart=/usr/bin/openshift start master api --config=${CONFIG_FILE} $OPTIONS
  13. LimitNOFILE=131072
  14. LimitCORE=infinity
  15. WorkingDirectory={{ r_openshift_master_data_dir }}
  16. SyslogIdentifier=atomic-openshift-master-api
  17. Restart=always
  18. RestartSec=5s
  19. [Install]
  20. WantedBy=multi-user.target
  21. WantedBy={{ openshift.common.service_type }}-node.service