diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-05-16 11:54:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 11:54:03 -0500 |
commit | ef686396dfdf2cace926a5b226ff1694eb89d005 (patch) | |
tree | b015095e317f10971dd41a75ac6c7c738b17003a /roles/openshift_node/templates/origin-node.service.j2 | |
parent | 15fd42020a0b5fee665c45cd23b9ba3bd152251d (diff) | |
parent | c37fbea2f717c0343007d8dc79c2dd9e8697adf0 (diff) | |
download | openshift-ef686396dfdf2cace926a5b226ff1694eb89d005.tar.gz openshift-ef686396dfdf2cace926a5b226ff1694eb89d005.tar.bz2 openshift-ef686396dfdf2cace926a5b226ff1694eb89d005.tar.xz openshift-ef686396dfdf2cace926a5b226ff1694eb89d005.zip |
Merge pull request #4178 from mtnbikenc/fix-templating
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_node/templates/origin-node.service.j2')
-rw-r--r-- | roles/openshift_node/templates/origin-node.service.j2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/origin-node.service.j2 b/roles/openshift_node/templates/origin-node.service.j2 new file mode 100644 index 000000000..8047301e6 --- /dev/null +++ b/roles/openshift_node/templates/origin-node.service.j2 @@ -0,0 +1,21 @@ +[Unit] +Description=Origin Node +After={{ openshift.docker.service_name }}.service +Wants={{ openshift.docker.service_name }}.service +Documentation=https://github.com/openshift/origin + +[Service] +Type=notify +EnvironmentFile=/etc/sysconfig/origin-node +Environment=GOTRACEBACK=crash +ExecStart=/usr/bin/openshift start node --config=${CONFIG_FILE} $OPTIONS +LimitNOFILE=65536 +LimitCORE=infinity +WorkingDirectory=/var/lib/origin/ +SyslogIdentifier=origin-node +Restart=always +RestartSec=5s +OOMScoreAdjust=-999 + +[Install] +WantedBy=multi-user.target |