Changeset 5252 for php5-lliurex-compat
- Timestamp:
- Jun 22, 2017, 8:46:25 AM (4 years ago)
- Location:
- php5-lliurex-compat/fuentes/debian
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
php5-lliurex-compat/fuentes/debian/postinst
r1830 r5252 41 41 fi 42 42 bash /usr/share/doc/apache2/examples/setup-instance lliurex 43 } 44 fix_apache_envvars(){ 45 FILE="/etc/apache2-lliurex/envvars" 46 rc=0 47 grep "APACHE_PID_FILE" $FILE | grep "lliurex" || rc=1 48 if [ $rc -eq 1 ]; then 49 sed -i "s/xport APACHE_PID_FILE=\/var\/run\/apache2\/apache2\$SUFFIX.pid/export APACHE_PID_FILE=\/var\/run\/apache2-lliurex\/apache2\$SUFFIX.pid/g" $FILE 50 fi 51 43 52 } 44 53 change_ports(){ … … 136 145 setup_apache 137 146 change_ports 147 fix_apache_envvars 138 148 fix_mods 139 149 echo "Enabling multi-site services"
Note: See TracChangeset
for help on using the changeset viewer.