Dzahn has submitted this change and it was merged. Change subject: Apertium: Fix --log-path position in SystemD unit file ......................................................................
Apertium: Fix --log-path position in SystemD unit file The correct ordering of parameters is `--log-path <%= @log_dir %>`. Change-Id: I4cbeb35005866a7c387d9c38d1b8051e0a2cbb09 --- M modules/apertium/templates/initscripts/apertium-apy.systemd.erb 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Filippo Giunchedi: Looks good to me, but someone else must approve jenkins-bot: Verified Dzahn: Looks good to me, approved diff --git a/modules/apertium/templates/initscripts/apertium-apy.systemd.erb b/modules/apertium/templates/initscripts/apertium-apy.systemd.erb index 000e310..de643e6 100644 --- a/modules/apertium/templates/initscripts/apertium-apy.systemd.erb +++ b/modules/apertium/templates/initscripts/apertium-apy.systemd.erb @@ -17,7 +17,7 @@ # https://www.python.org/dev/peps/pep-3143/#correct-daemon-behaviour # it only seems to do the first. So we abuse it a bit to get standard behaviour # and better logging -ExecStart=/usr/bin/python3 /usr/share/apertium-apy/servlet.py -j<%= @num_of_processes %> -m<%= @max_idle_seconds %> --daemon <%= @log_dir %> --log-path /usr/share/apertium/modes +ExecStart=/usr/bin/python3 /usr/share/apertium-apy/servlet.py -j<%= @num_of_processes %> -m<%= @max_idle_seconds %> --daemon --log-path <%= @log_dir %> /usr/share/apertium/modes [Install] WantedBy=multi-user.target -- To view, visit https://gerrit.wikimedia.org/r/268856 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4cbeb35005866a7c387d9c38d1b8051e0a2cbb09 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Mobrovac <[email protected]> Gerrit-Reviewer: Alexandros Kosiaris <[email protected]> Gerrit-Reviewer: Dzahn <[email protected]> Gerrit-Reviewer: Filippo Giunchedi <[email protected]> Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]> Gerrit-Reviewer: KartikMistry <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
