how os-svc-enable create upstart job file

asked 2014-10-31 05:54:47 -0500

lafada gravatar image

I used tripleo for config nova-api. It will create upstart job to run nova-api service.

I want to change upstart job for nova-api.

I want to know is there any template to create upstart job config file?

I checked code and seems os-svc-enable script create job.

# File : tripleo-image-elements / elements / nova-api / os-refresh-config / post-configure.d / 80-nova-api
...
...
os-svc-enable -n nova-api
...
...

When I check os-svc-enable script it calls os-svc-enable-upstart with service name and action.

# File : tripleo-image-elements / elements / os-svc-install / bin / os-svc-enable
...
...
function enable_upstart_service() {
    local name="$1"
    os-svc-enable-upstart "$name" enable
}
...
...

I checked os-svc-enable-upstart script for is there any template reference.

but i didnt get any help from their.

edit retag flag offensive close merge delete