fix: certbot nginx premission
This commit is contained in:
parent
56dfb90345
commit
e6c4ca5e04
3 changed files with 38 additions and 8 deletions
|
|
@ -23,7 +23,8 @@
|
|||
"REQUESTS_CA_BUNDLE" = ../extra/ca.crt;
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.certbot}/bin/certbot renew";
|
||||
ExecStart = ''${pkgs.certbot}/bin/certbot renew'';
|
||||
ExecStartPost = "${pkgs.busybox}/bin/chown nginx:nginx -R /etc/letsencrypt";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue