lasthourcloud/src/lib/queues/sslrenewal.ts
Andras Bacsai 460ae85226
V2 (#111)
Just v2
2022-02-10 15:47:44 +01:00

12 lines
305 B
TypeScript

import { asyncExecShell } from '$lib/common';
export default async function () {
try {
return await asyncExecShell(
`docker run --rm --name certbot-renewal -v "coolify-letsencrypt:/etc/letsencrypt" certbot/certbot --logs-dir /etc/letsencrypt/logs renew`
);
} catch (error) {
throw error;
}
}