Skip to content

Commit

Permalink
Run webpermissions task in background (no block)
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed May 13, 2024
1 parent ec35eac commit 6737a81
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions rootfs/etc/cont-init.d/99-webuser-permissions
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/with-contenv sh
set -e

/usr/local/bin/attr /var/www true www-data:www-data 0770 2771
/usr/local/bin/attr /var/www/html/wp-content true www-data:www-data 2755 2755
main() {
/usr/local/bin/attr /var/www true www-data:www-data 0770 2771
/usr/local/bin/attr /var/www/html/wp-content true www-data:www-data 2755 2755
}

main &

0 comments on commit 6737a81

Please sign in to comment.