Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
sysadmin
/
acme-ssl
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cbaf36d3
authored
Jan 31, 2017
by
Никита Миропольский
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
moved restart command to config to avoid ambiguity
1 parent
a8faf243
Pipeline
#2255
for
cbaf36d3
skipped
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
acme-refresh
acme.conf
acme-refresh
View file @
cbaf36d
...
...
@@ -40,6 +40,9 @@ ACMEDIR=$readconfig_return_value
readconfig openssl_bin
OPENSSL
=
$readconfig_return_value
readconfig http_restart
HTTPRESTART
=
$readconfig_return_value
# выводим дату (для лога)
date
...
...
@@ -106,4 +109,4 @@ cat $ACMEDIR/intermediate.crt >> $ACMEDIR/site.crt
cat
$ACMEDIR
/root-ca.crt >>
$ACMEDIR
/site.crt
# дёргаем nginx
/usr/bin/env
nginx -s reload
nginx -s reload
acme.conf
View file @
cbaf36d
...
...
@@ -20,3 +20,5 @@ acme_dir=/var/cache/acme
# openssl
openssl_bin
=/
usr
/
bin
/
openssl
http_restart
=/
usr
/
sbin
/
nginx
-
s
reload
Write
Preview
Markdown
is supported
Attach a file
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 post a comment