Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/338163 )

Change subject: Phabricator: Fix systemd phd.service file
......................................................................


Phabricator: Fix systemd phd.service file

Currently trying to start the file results in a active (exit) error.

Changing from oneshoot to forking fixes the problem.

Also move user and group under Service instead of Unit, see
http://stackoverflow.com/questions/38220995/systemd-unknown-lvalue-user-in-section-unit

Change-Id: If782ef0747715c3f0922ca87c7a725d8801183d8
---
M modules/phabricator/files/systemd/phd.service
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/phabricator/files/systemd/phd.service 
b/modules/phabricator/files/systemd/phd.service
index b0cde30..d4140ae 100644
--- a/modules/phabricator/files/systemd/phd.service
+++ b/modules/phabricator/files/systemd/phd.service
@@ -1,12 +1,12 @@
 [Unit]
 Description=phabricator-phd
-After=syslog.target network.target
+After=syslog.target network.target mysql.service
 Before=apache2.service
-User=phd
-Group=phd
 
 [Service]
-Type=oneshot
+Type=forking
+User=phd
+Group=phd
 Environment="PHABRICATOR_ENV=phd"
 
 ExecStart=/srv/phab/phabricator/bin/phd start

-- 
To view, visit https://gerrit.wikimedia.org/r/338163
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If782ef0747715c3f0922ca87c7a725d8801183d8
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: 20after4 <mmod...@wikimedia.org>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to