Moved nginx settings to plugin.

These settings shouldn't be in the profile template, as they only make sense when used with nginx.
If you're using nginx, you can enable the nginx plugin.
This commit is contained in:
Nils Winkler
2015-03-30 11:13:01 +00:00
parent 07c4cb6f5e
commit 98437efb15
2 changed files with 6 additions and 8 deletions

View File

@@ -1,6 +1,12 @@
cite about-plugin
about-plugin 'manage your nginx service'
# Set the path nginx
export NGINX_PATH='/opt/nginx'
# Add nginx to the path
export PATH=$PATH:$NGINX_PATH/sbin
function nginx_reload() {
about 'reload your nginx config'
group 'nginx'