diff -r 5094098f5e0c -r 26837fd025a3 Admin/Phabricator/phd/phd-phabricator.service --- /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