File tree Expand file tree Collapse file tree 13 files changed +65
-0
lines changed Expand file tree Collapse file tree 13 files changed +65
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
29
29
apache2* )
30
30
user=" ${APACHE_RUN_USER:- www-data} "
31
31
group=" ${APACHE_RUN_GROUP:- www-data} "
32
+
33
+ # strip off any '#' symbol ('#1000' is valid syntax for Apache)
34
+ pound=' #'
35
+ user=" ${user# $pound } "
36
+ group=" ${group# $pound } "
32
37
;;
33
38
* ) # php-fpm
34
39
user=' www-data'
You can’t perform that action at this time.
0 commit comments