projects
/
nagios-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df17c8
)
Added -W flag
author
Lisa Marie Maginnis
<lisam@fsf.org>
Wed, 28 May 2014 18:28:39 +0000
(14:28 -0400)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Wed, 28 May 2014 18:28:39 +0000
(14:28 -0400)
nagios-website-add.sh
patch
|
blob
|
blame
|
history
diff --git
a/nagios-website-add.sh
b/nagios-website-add.sh
index a64ac8c004d33dff42bbfbbd9ed27c48eb1e51a9..c3cc3343d6d26d10bf43e77f2a808654230247a4 100755
(executable)
--- a/
nagios-website-add.sh
+++ b/
nagios-website-add.sh
@@
-115,6
+115,12
@@
set-http-params $website $host
write-config-header
write-config-body
+# www CNAME, special request :D
+if [ $www -eq 1 ]; then
+ set-https-params www.$website $host
+ write-config-body
+fi
+
# Additional CNAMEs if requested
if [ $cname -eq 1 ]; then
for name in $cnames; do