--- a/Admin/Phabricator/README Wed Sep 25 20:12:20 2019 +0200
+++ b/Admin/Phabricator/README Wed Sep 25 21:39:43 2019 +0200
@@ -79,6 +79,11 @@
mkdir -p /var/www/phabricator/repo
chown phab-daemon:phab-daemon /var/www/phabricator/repo
+- PHP Daemon:
+ $ cp phd/phd-phabricator.service /lib/systemd/system/.
+ $ systemctl start phd-phabricator
+ $ systemctl enable phd-phabricator
+
- Update:
https://secure.phabricator.com/book/phabricator/article/upgrading
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Admin/Phabricator/phd/phd-phabricator.service Wed Sep 25 21:39:43 2019 +0200
@@ -0,0 +1,15 @@
+[Unit]
+Description=PHP daemon (Phabricator)
+After=syslog.target network.target apache2.service mysql.service
+
+[Service]
+Type=oneshot
+User=phab-daemon
+Group=phab-daemon
+Environment=PATH=/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin
+ExecStart=/var/www/phabricator/phabricator/bin/phd start
+ExecStop=/var/www/phabricator/phabricator/bin/phd stop
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target