[Unit]
Description=Origin Master Service
Documentation=https://github.com/openshift/origin
After=network-online.target
After=etcd.service
Before=origin-node.service
Requires=network-online.target

[Service]
Type=notify
EnvironmentFile=/etc/sysconfig/origin-master
Environment=GOTRACEBACK=crash
ExecStart=/usr/bin/openshift start master --config=${CONFIG_FILE} $OPTIONS
LimitNOFILE=131072
LimitCORE=infinity
WorkingDirectory=/var/lib/origin/
SyslogIdentifier=origin-master
Restart=always
RestartSec=5s

[Install]
WantedBy=multi-user.target
WantedBy=origin-node.service
