Skip to content

Instantly share code, notes, and snippets.

@sixg0000d
Last active April 11, 2021 03:39
Show Gist options
  • Save sixg0000d/84fac2d00f6ada5752b56a1e6cc53948 to your computer and use it in GitHub Desktop.
Save sixg0000d/84fac2d00f6ada5752b56a1e6cc53948 to your computer and use it in GitHub Desktop.
certbot hook script for v2ray
#!/bin/bash
chown -R v2ray:v2ray /etc/letsencrypt/ && systemctl restart v2ray.service
@sixg0000d
Copy link
Author

sixg0000d commented Dec 8, 2020

put it into /etc/letsencrypt/renewal-hooks/post/ to bind hook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment