Skip to content
This repository has been archived by the owner on Aug 25, 2019. It is now read-only.

Update 40-aphlict #20

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion 40-aphlict
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
touch /var/log/aphlict.log
chown git:wwwgrp-phabricator /var/log/aphlict.log

#create default path for aphlict pid file and make it writable
mkdir -p /var/tmp/aphlict/pid
chown git:wwwgrp-phabricator /var/tmp/aphlict/pid

# Copy ws module from global install
cp -Rv /usr/lib/node_modules /srv/phabricator/phabricator/support/aphlict/server/
chown -Rv git:wwwgrp-phabricator /srv/phabricator/phabricator/support/aphlict/server/node_modules

# Start the Phabricator notification server
pushd /srv/phabricator/phabricator
sudo -u git bin/aphlict start --client-host=localhost
sudo -u git bin/aphlict start
popd