Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
certbot
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
certbot
Commits
71a47768
Commit
71a47768
authored
Mar 08, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Certbot should attempt to renew certificates daily
parent
37c31ed8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletion
+30
-1
Makefile
Makefile
+30
-1
No files found.
Makefile
View file @
71a47768
all
:
all
:
certbot-timer certbot-service
tar
xf certbot-1.3.0.tar.gz
install
-v
-Dm755
certbot-1.3.0/certbot-auto /usr/bin/certbot-auto
install
-v
-m755
-d
/etc/letsencrypt
USE_PYTHON_3
=
1 certbot-auto
--install-only
--no-bootstrap
--no-self-upgrade
@echo
"$$CERTBOT_TIMER"
>
/lib/systemd/system/certbot.timer
@echo
"$$CERTBOT_SERVICE"
>
/lib/systemd/system/certbot.service
systemctl
enable
certbot.timer
certbot-timer
:
define
CERTBOT_TIMER
[Unit]
Description
=
Renew certificates periodically
[Timer]
OnCalendar
=
daily
Persistent
=
true
[Install]
WantedBy
=
timers.target
endef
export
CERTBOT_TIMER
certbot-service
:
define
CERTBOT_SERVICE
[Unit]
Description
=
Renew certificates
[Service]
Type
=
simple
ExecStart
=
/usr/bin/certbot-auto
--no-self-upgrade
renew
endef
export
CERTBOT_SERVICE
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