mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
improved restart function for ubuntu
This commit is contained in:
parent
1a1d333ea4
commit
602a6e60ce
1 changed files with 3 additions and 1 deletions
|
@ -50,7 +50,9 @@ rc=$?
|
|||
|
||||
# Workaround for Ubuntu 12.04
|
||||
if [ "$WEB_SYSTEM" == 'apache2' ]; then
|
||||
if [ ! -e "/var/run/apache2.pid" ]; then
|
||||
pid1='/var/run/apache2.pid'
|
||||
pid2='/var/run/apache2/apache2.pid'
|
||||
if [ ! -e "$pid1" ] && [ ! -e "$pid2" ]; then
|
||||
rc=1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue