mirror of
https://github.com/macintoshplus/apache2-php.git
synced 2026-03-24 08:32:12 +01:00
14 lines
245 B
Bash
Executable File
14 lines
245 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Give apache user same uid as owener of wwwroot to avoid problems on upload.
|
|
if [ -d "/sources" ]
|
|
then
|
|
userdel phpuser
|
|
USERID=$(stat -c "%u" /sources)
|
|
usermod -u $USERID www-data
|
|
fi
|
|
|
|
|
|
# Start supervisor
|
|
/usr/bin/supervisord
|