[MediaWiki-commits] [Gerrit] celery: Make systemd do the chdir - change (operations/puppet)
Yuvipanda has submitted this change and it was merged. Change subject: celery: Make systemd do the chdir .. celery: Make systemd do the chdir Change-Id: I4453b862840da3cb8eb670ecb493056cc1fb1ab0 --- M modules/celery/templates/initscripts/celery.systemd.erb 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Yuvipanda: Verified; Looks good to me, approved diff --git a/modules/celery/templates/initscripts/celery.systemd.erb b/modules/celery/templates/initscripts/celery.systemd.erb index 2116f69..8a73a1e 100644 --- a/modules/celery/templates/initscripts/celery.systemd.erb +++ b/modules/celery/templates/initscripts/celery.systemd.erb @@ -5,8 +5,9 @@ [Service] User=<%= @user %> Group=<%= @group %> +WorkingDirectory=<%= @working_dir %> ExecStart=<%= @celery_bin_path %> worker \ ---app <%= @app %> --workingdir <%= @working_dir %> +--app <%= @app %> [Install] WantedBy=multi-user.target -- To view, visit https://gerrit.wikimedia.org/r/224827 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4453b862840da3cb8eb670ecb493056cc1fb1ab0 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Yuvipanda Gerrit-Reviewer: Yuvipanda ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] celery: Make systemd do the chdir - change (operations/puppet)
Yuvipanda has uploaded a new change for review. https://gerrit.wikimedia.org/r/224827 Change subject: celery: Make systemd do the chdir .. celery: Make systemd do the chdir Change-Id: I4453b862840da3cb8eb670ecb493056cc1fb1ab0 --- M modules/celery/templates/initscripts/celery.systemd.erb 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/27/224827/1 diff --git a/modules/celery/templates/initscripts/celery.systemd.erb b/modules/celery/templates/initscripts/celery.systemd.erb index 2116f69..8a73a1e 100644 --- a/modules/celery/templates/initscripts/celery.systemd.erb +++ b/modules/celery/templates/initscripts/celery.systemd.erb @@ -5,8 +5,9 @@ [Service] User=<%= @user %> Group=<%= @group %> +WorkingDirectory=<%= @working_dir %> ExecStart=<%= @celery_bin_path %> worker \ ---app <%= @app %> --workingdir <%= @working_dir %> +--app <%= @app %> [Install] WantedBy=multi-user.target -- To view, visit https://gerrit.wikimedia.org/r/224827 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4453b862840da3cb8eb670ecb493056cc1fb1ab0 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Yuvipanda ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits