1234567891011121314151617181920212223242526 |
- [Unit]
- Description=Atomic OpenShift Master Controllers
- Documentation=https://github.com/openshift/origin
- After=network-online.target
- After={{ openshift.common.service_type }}-master-api.service
- Wants={{ openshift.common.service_type }}-master-api.service
- Requires=network-online.target
- [Service]
- {% if openshift.common.version_gte_3_1_1_or_1_1_1 | bool %}
- Type=notify
- {% else %}
- Type=simple
- {% endif %}
- EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master-controllers
- Environment=GOTRACEBACK=crash
- ExecStart=/usr/bin/openshift start master controllers --config=${CONFIG_FILE} $OPTIONS
- LimitNOFILE=131072
- LimitCORE=infinity
- WorkingDirectory={{ r_openshift_master_data_dir }}
- SyslogIdentifier={{ openshift.common.service_type }}-master-controllers
- Restart=always
- RestartSec=5s
- [Install]
- WantedBy=multi-user.target
|