This commit is contained in:
1 parent
dcfdc3be1a
commit
bc50eab30e
6 files changed
+164
-13
No files matched your search
@@ -5,13 +5,19 @@ Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/libexec/smail-acme/renew_certificate.py
|
||||
EnvironmentFile=-/etc/smail/acme-dns.env
|
||||
EnvironmentFile=-/etc/smail/acme-renew.env
|
||||
EnvironmentFile=/etc/smail/acme-dns.env
|
||||
EnvironmentFile=/etc/smail/acme-renew.env
|
||||
ExecStartPre=/usr/sbin/nginx -t
|
||||
ExecStart=/usr/local/libexec/smail-acme/lego --path /var/lib/smail-acme-tls --email ${SMAIL_ACME_EMAIL} --accept-tos --key-type ec256 --dns ${SMAIL_ACME_DNS_PROVIDER} --domains ${SMAIL_MAIL_DOMAIN} --domains *.${SMAIL_MAIL_DOMAIN} --domains ${SMAIL_WEB_DOMAIN} --filename smail --http-timeout 20 --cert.timeout 120 renew --days 30 --reuse-key --no-random-sleep
|
||||
ExecStartPost=/opt/smail/smail-config --root /opt/smail --external-tls-dir /var/lib/smail-acme-tls/certificates --publish-external-tls /etc/nginx/smail/tls.pem
|
||||
ExecStartPost=/usr/sbin/nginx -t
|
||||
ExecStartPost=/usr/bin/systemctl reload nginx.service
|
||||
StateDirectory=smail-acme-tls
|
||||
StateDirectoryMode=0700
|
||||
TimeoutStartSec=720
|
||||
TimeoutStopSec=15
|
||||
MemoryHigh=96M
|
||||
MemoryMax=128M
|
||||
MemoryHigh=192M
|
||||
MemoryMax=256M
|
||||
MemorySwapMax=0
|
||||
CPUQuota=100%
|
||||
TasksMax=64
|
||||
|
||||
Reference in new issue
Block a user