{"id":5735,"date":"2018-07-12T15:30:45","date_gmt":"2018-07-12T12:30:45","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=5735"},"modified":"2018-07-12T15:30:45","modified_gmt":"2018-07-12T12:30:45","slug":"add-f-to-all-ps-calls-in-makefile","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2018\/07\/12\/add-f-to-all-ps-calls-in-makefile\/","title":{"rendered":"Add -f to all ps calls in Makefile"},"content":{"rendered":"<p>Output from procps&#8217; ps with -e only produces the process name, so grepping for &#8221;cli.js start&#8221; fails every time. This change adds (POSIX-compliant) -f to all ps calls to get the full command. AWK print parameter is adjusted accordingly where needed.<\/p>\n<p><a href=\"https:\/\/github.com\/mattermost\/mattermost-mobile\/issues\/1359\">Issue #1359<\/a>\u00a0resulted in\u00a0<a href=\"https:\/\/github.com\/mattermost\/mattermost-mobile\/pull\/1370\">PR #1370<\/a>, but only addressed the stop: target. The changes here address the rest of the ps calls the same way.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ps calls in Makefile fail to produce anything to grep. The changes here address the rest of the ps calls the same way phuihock&#8217;s PR #1370 did.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[14049,2679],"class_list":["post-5735","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-mattermost","tag-ubuntu","sijainti-github"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=5735"}],"version-history":[{"count":2,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5735\/revisions"}],"predecessor-version":[{"id":5737,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5735\/revisions\/5737"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=5735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=5735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=5735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}