Browse Source

Add tab completion for upstart

If upstart is used, add symlink: /etc/init.d/nginx -> /lib/init/upstart-job
susefix
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

- file: /etc/nginx/conf.d/default.conf - file: /etc/nginx/conf.d/default.conf
- file: /etc/nginx/conf.d/example_ssl.conf - file: /etc/nginx/conf.d/example_ssl.conf
- pkg: nginx - 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