Skip to content

Instantly share code, notes, and snippets.

@kyrofa
Created May 11, 2018 15:12
Show Gist options
  • Save kyrofa/a573c4ef704a9a5008669e6131de293a to your computer and use it in GitHub Desktop.
Save kyrofa/a573c4ef704a9a5008669e6131de293a to your computer and use it in GitHub Desktop.
nextcloud snap certbot debugger
snap run --shell nextcloud.enable-https <<'EOF'
export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu"
export LD_LIBRARY_PATH="$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib:$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
echo "certbot location: $(which certbot)"
echo "lib location: $(python2 -c 'import certbot.main; print(certbot.main.__file__)')"
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment