Add tab completion for upstart

If upstart is used, add symlink: /etc/init.d/nginx -> /lib/init/upstart-job
This commit is contained in:
Dan Fayette 2014-06-19 10:43:00 -04:00
parent 3a63a8c2bd
commit d7dcf75ed5

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 %}