Add tab completion for upstart
If upstart is used, add symlink: /etc/init.d/nginx -> /lib/init/upstart-job
This commit is contained in:
parent
3a63a8c2bd
commit
d7dcf75ed5
@ -64,3 +64,10 @@ nginx:
|
|||||||
- 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…
Reference in New Issue
Block a user