Skip to content

Instantly share code, notes, and snippets.

@richm
Created February 23, 2016 20:17
Show Gist options
  • Save richm/06de795d3f550bb56592 to your computer and use it in GitHub Desktop.
Save richm/06de795d3f550bb56592 to your computer and use it in GitHub Desktop.
# cat /etc/systemd/system/multi-user.target.wants/openshift.service
[Unit]
Description=OpenShift All-In-One server
After=network.target
After=docker.service
Requires=network.target
Requires=docker.service
[Service]
Type=simple
LimitNOFILE=131072
LimitCORE=infinity
WorkingDirectory=/var/lib/origin
Environment=GOTRACEBACK=crash
ExecStart=/var/lib/origin/openshift-origin-server-v1.1.3-cffae05-linux-64bit/openshift start
SyslogIdentifier=openshift
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment