Browse Source

Add tab completion for upstart

If upstart is used, add symlink: /etc/init.d/nginx -> /lib/init/upstart-job
tags/v0.55.0
Dan Fayette 10 years ago
parent
commit
d7dcf75ed5
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      nginx/package.sls

+ 7
- 0
nginx/package.sls View File

@@ -64,3 +64,10 @@ nginx:
- file: /etc/nginx/conf.d/default.conf
- file: /etc/nginx/conf.d/example_ssl.conf
- pkg: nginx

# Create 'service' symlink for tab completion.
{% if use_upstart %}
/etc/init.d/nginx:
file.symlink:
- target: /lib/init/upstart-job
{% endif %}

Loading…
Cancel
Save