Last active
April 11, 2021 03:39
-
-
Save sixg0000d/84fac2d00f6ada5752b56a1e6cc53948 to your computer and use it in GitHub Desktop.
certbot hook script for v2ray
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
chown -R v2ray:v2ray /etc/letsencrypt/ && systemctl restart v2ray.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put it into
/etc/letsencrypt/renewal-hooks/post/
to bind hook