mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
Merge pull request #105 from SunilMohanAdapa/owncloud-apache-reload
owncloud: Do Apache reload instead of restart
This commit is contained in:
commit
855755263d
@ -91,7 +91,7 @@ EOF
|
|||||||
# 'adminpass' => '$adminpwd',
|
# 'adminpass' => '$adminpwd',
|
||||||
|
|
||||||
a2enconf owncloud 2>&1 | logger -t owncloud-setup
|
a2enconf owncloud 2>&1 | logger -t owncloud-setup
|
||||||
service apache2 restart 2>&1 | logger -t owncloud-setup
|
service apache2 reload 2>&1 | logger -t owncloud-setup
|
||||||
|
|
||||||
# Initialize application and database tables by visiting
|
# Initialize application and database tables by visiting
|
||||||
# the front page. This only work if admin user and
|
# the front page. This only work if admin user and
|
||||||
@ -99,10 +99,10 @@ EOF
|
|||||||
#wget --quiet http://$(uname -n)/owncloud/index.php
|
#wget --quiet http://$(uname -n)/owncloud/index.php
|
||||||
else
|
else
|
||||||
a2enconf owncloud 2>&1 | logger -t owncloud-setup
|
a2enconf owncloud 2>&1 | logger -t owncloud-setup
|
||||||
service apache2 restart 2>&1 | logger -t owncloud-setup
|
service apache2 reload 2>&1 | logger -t owncloud-setup
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
a2disconf owncloud 2>&1 | logger -t owncloud-setup
|
a2disconf owncloud 2>&1 | logger -t owncloud-setup
|
||||||
service apache2 restart 2>&1 | logger -t owncloud-setup
|
service apache2 reload 2>&1 | logger -t owncloud-setup
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user