coren has uploaded a new change for review. https://gerrit.wikimedia.org/r/89402
Change subject: Tool Labs: tweaks to the lighttpd startup script ...................................................................... Tool Labs: tweaks to the lighttpd startup script * Make it redirect stderr to error.log * Make the .STOPPED file be created and owned by the tool Change-Id: I6f78ce9416bed7dd8cd09dff7ab3089c3d4f66e9 --- M modules/toollabs/files/tool-lighttpd 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/02/89402/1 diff --git a/modules/toollabs/files/tool-lighttpd b/modules/toollabs/files/tool-lighttpd index 2239aab..309b481 100755 --- a/modules/toollabs/files/tool-lighttpd +++ b/modules/toollabs/files/tool-lighttpd @@ -144,8 +144,8 @@ trap "cleanup;exit 0" 15 -/bin/su -c "/usr/sbin/lighttpd -f $runbase.conf -D 2>&1 >>$home/error.log" - "$user" -/bin/date >"$home/lighttpd.STOPPED" +/bin/su -c "/usr/sbin/lighttpd -f $runbase.conf -D >>$home/error.log 2>&1" - "$user" +/bin/su -c "/bin/date >$home/lighttpd.STOPPED" - "$user" cleanup exit 1 -- To view, visit https://gerrit.wikimedia.org/r/89402 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6f78ce9416bed7dd8cd09dff7ab3089c3d4f66e9 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: coren <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
