1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/setup/letsencrypt.service

9 lines
346 B
SYSTEMD
Raw Normal View History

2019-12-30 17:34:15 +01:00
[Unit]
Description=letsencrypt cert update oneshot
Requires=docker.service
[Service]
Type=oneshot
2020-01-06 16:44:18 +01:00
ExecStart=/usr/bin/docker run --rm --name certbot_fabmanager -v "/apps/fabmanager/letsencrypt/etc:/etc/letsencrypt" certbot/certbot:latest -c "/etc/letsencrypt/config/webroot.ini" certonly
2019-12-30 17:34:15 +01:00
ExecStartPost=-/usr/bin/docker restart fabmanager_nginx_1