Page MenuHomePhabricator

update_phabricator.sh add support for Ubuntu 12.04 LTS (and other Ubuntus)
Closed, WontfixPublic

Description

use case: Ubuntu 12.04 LTS using apache2

the code uses

sudo /etc/init.d/httpd stop

and

sudo /etc/init.d/httpd start

to stop & start the web server daemon. Ubuntu supports the service daemon and with an apache2 install the commands should be:

sudo service apache2 stop

and

sudo service apache2 start

the updater should detect which distro and version its running on and act accordingly

cat /etc/issue

Event Timeline

allan.laal raised the priority of this task from to Needs Triage.
allan.laal updated the task description. (Show Details)
allan.laal added a project: Phabricator.
allan.laal added a subscriber: allan.laal.
epriestley claimed this task.

The script is intended to be a skeleton/template, which is why it has so many comments about replacing commands. The suggested alternatives will not work with nginx or lighttpd. It is impractically complex to produce a script which runs correctly in every environment: instead, we have provided a very simple script which is easy enough to understand that it can easily be customized. See T4200 for discussion about why we do not maintain OS-specific packages, install/update/init.d scripts, etc., at this time.