mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
update permissions
This commit is contained in:
parent
cf46d74fff
commit
e1bde79f8e
1 changed files with 2 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ if [ ! -f "$CERT_DIR" ]; then
|
|||
sudo apt install -y certbot
|
||||
sudo certbot certonly --standalone -d $DOMAIN --email $EMAIL --agree-tos --non-interactive
|
||||
if [ $? -eq 0 ]; then
|
||||
sudo chmod u+r "$CERT_DIR/privkey.pem"
|
||||
sudo chmod u+r "$CERT_DIR/fullchain.pem"
|
||||
sudo chmod 755 "$CERT_DIR/privkey.pem"
|
||||
sudo chmod 755 "$CERT_DIR/fullchain.pem"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue