Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56946642
letsencrypt-renewal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
295 B
Referenced Files
None
Subscribers
None
letsencrypt-renewal
View Options
#!/usr/bin/env sh
nginx_test
()
{
nginx_output
=
"
$(
nginx
-t
2
>
&
1
)
"
nginx_returncode
=
"
$?
"
if
[
"
$nginx_returncode
"
-eq
0
]
&&
[
-n
"
$(
echo
"
${
nginx_output
}
"
|
grep
warn
)
"
]
;
then
return
2
;
else
return
"
$nginx_returncode
"
;
fi
;
}
letsencrypt
renew
&&
nginx_test
&&
service
nginx
restart
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 13, 10:25 (6 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4197357
Default Alt Text
letsencrypt-renewal (295 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment