This repository contains a set of UNIX init script, that used to manage locally installed Phabricator instances.
Phabricator is a software-project managment web application, and to run this software the system administrator needs to manage some daemon process. This collection of scripts makes this easier.
You need the following set information to properly install these scripts.
- The user name that run the phabricator instance
- The installed instance absolute location
If you want to manage Phabricator specific SSHD daemon (For SSH repository hosting):
- The user name that run the SSHD instance
- The SSHD binary location
- The phabricator specific SSHD config name and location
After collect these information edit each script and jump to ## Configuration
section and configure the defined variables. I
don't want to describe each because the naming of these variables are very self-describing.
After configuration is complete move the scripts to /etc/init.d
folder.
# Go to /etc/init.d folder
$ cd /etc/init.d
# Set the startup and shutdown variables
$ sudo update-rc.d phabricator-daemon defaults 95 10
$ sudo update-rc.d phabricator-notification defaults 95 10
$ sudo update-rc.d phabricator-sshd defaults 95 10
That's it. Not you can use the sudo service phabricator-daemon start
command.
Feel free to open an issue or create a pull-request to this repo.
This project is licensed under MIT license.