mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
9 lines
342 B
SYSTEMD
9 lines
342 B
SYSTEMD
|
[Unit]
|
||
|
Description=letsencrypt cert update oneshot
|
||
|
Requires=docker.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/docker run --rm --name certbot_fabmanager -v "/apps/fabmanager/letsencrypt:/etc/letsencrypt" certbot/certbot:latest -c "/etc/letsencrypt/config/webroot.ini" certonly
|
||
|
ExecStartPost=-/usr/bin/docker restart fabmanager_nginx_1
|