Skip to content

Commit

Permalink
Dismount temporary mount point
Browse files Browse the repository at this point in the history
Unmount /mnt/includes at the end as it's only used while the script runs.
  • Loading branch information
basilhendroff authored Sep 23, 2020
1 parent 1c2b0b1 commit 4177a60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wordpress-jail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ iocage exec "${JAIL_NAME}" chmod 4555 /usr/local/sbin/ssmtp
#####################################################################
print_msg "Installation complete!"

# Don't need /mnt/includes any more, so unmount it
iocage fstab -r "${JAIL_NAME}" "${INCLUDES_PATH}" /mnt/includes nullfs rw 0 0

cat /root/${JAIL_NAME}_db_password.txt
print_msg "All passwords are saved in /root/${JAIL_NAME}_db_password.txt"
print_msg "Continue with the post installation steps at https://github.com/basilhendroff/freenas-iocage-wordpress/blob/master/POST-INSTALL.md"

0 comments on commit 4177a60

Please sign in to comment.