Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
letsencrypt.sh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
letsencrypt.sh
Commits
a7934fe7
Commit
a7934fe7
authored
Jan 08, 2016
by
Lukas Schauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not change exit code of loop in command_sign_domains
parent
d760890c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
letsencrypt.sh
letsencrypt.sh
+2
-2
No files found.
letsencrypt.sh
View file @
a7934fe7
...
...
@@ -358,7 +358,7 @@ command_sign_domains() {
fi
# Generate certificates for all domains found in domains.txt. Check if existing certificate are about to expire
<
"
${
DOMAINS_TXT
}
"
sed
's/^[[:space:]]*//g;s/[[:space:]]*$//g'
|
grep
-vE
'^(#|$)'
|
while
read
-r
line
;
do
<
"
${
DOMAINS_TXT
}
"
sed
's/^[[:space:]]*//g;s/[[:space:]]*$//g'
|
(
grep
-vE
'^(#|$)'
||
true
)
|
while
read
-r
line
;
do
domain
=
"
$(
printf
'%s\n'
"
${
line
}
"
|
cut
-d
' '
-f1
)
"
morenames
=
"
$(
printf
'%s\n'
"
${
line
}
"
|
cut
-s
-d
' '
-f2-
)
"
cert
=
"
${
BASEDIR
}
/certs/
${
domain
}
/cert.pem"
...
...
@@ -409,7 +409,7 @@ command_sign_domains() {
# shellcheck disable=SC2086
sign_domain
${
line
}
done
||
true
done
# remove temporary domains.txt file if used
[[
-n
"
${
PARAM_DOMAIN
:-}
"
]]
&&
rm
-f
"
${
DOMAINS_TXT
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment