1234567891011121314151617181920212223 |
- [Unit]
- Description=Atomic OpenShift Master API
- Documentation=https://github.com/openshift/origin
- After=network-online.target
- After=etcd.service
- Before={{ openshift.common.service_type }}-node.service
- Requires=network-online.target
- [Service]
- Type=notify
- EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master-api
- Environment=GOTRACEBACK=crash
- ExecStart=/usr/bin/openshift start master api --config=${CONFIG_FILE} $OPTIONS
- LimitNOFILE=131072
- LimitCORE=infinity
- WorkingDirectory={{ r_openshift_master_data_dir }}
- SyslogIdentifier=atomic-openshift-master-api
- Restart=always
- RestartSec=5s
- [Install]
- WantedBy=multi-user.target
- WantedBy={{ openshift.common.service_type }}-node.service
|