{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/611","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/611/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/611/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/611/events","html_url":"https://github.com/processone/ejabberd/issues/611","id":90339301,"number":611,"title":"/lib/ejabberd/priv/bin/ scripts should use bash instead of sh on ubuntu","user":{"login":"szymonpk","id":135415,"avatar_url":"https://avatars.githubusercontent.com/u/135415?v=3","gravatar_id":"","url":"https://api.github.com/users/szymonpk","html_url":"https://github.com/szymonpk","followers_url":"https://api.github.com/users/szymonpk/followers","following_url":"https://api.github.com/users/szymonpk/following{/other_user}","gists_url":"https://api.github.com/users/szymonpk/gists{/gist_id}","starred_url":"https://api.github.com/users/szymonpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szymonpk/subscriptions","organizations_url":"https://api.github.com/users/szymonpk/orgs","repos_url":"https://api.github.com/users/szymonpk/repos","events_url":"https://api.github.com/users/szymonpk/events{/privacy}","received_events_url":"https://api.github.com/users/szymonpk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T09:51:41Z","updated_at":"2015-06-23T09:55:48Z","closed_at":"2015-06-23T09:54:38Z","body":"- ejabberd 15.04 (compiled from source with --enable-user=ejabberd --enable-tools --enable-pgsql --enable-zlib --enable-nif --enable-iconv --enable-elixir)\r\n- ubuntu 14.04\r\n\r\nWhile I'm trying to execute `ejabberdctl join_cluster 'ejabberd@<hostname>'`\r\n```\r\n# ejabberdctl join_cluster 'ejabberd@<hostname>'\r\n//lib/ejabberd/priv/bin/joincluster: 18: //lib/ejabberd/priv/bin/joincluster: function: not found\r\nError: ejabberd@<hostname>\r\n```\r\nIf I change header of `/lib/ejabberd/priv/bin/joincluster` to `#!/bin/bash` script will continue fine. It's probably due to sh being linked to dash."},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/114426582","html_url":"https://github.com/processone/ejabberd/issues/611#issuecomment-114426582","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/611","id":114426582,"user":{"login":"szymonpk","id":135415,"avatar_url":"https://avatars.githubusercontent.com/u/135415?v=3","gravatar_id":"","url":"https://api.github.com/users/szymonpk","html_url":"https://github.com/szymonpk","followers_url":"https://api.github.com/users/szymonpk/followers","following_url":"https://api.github.com/users/szymonpk/following{/other_user}","gists_url":"https://api.github.com/users/szymonpk/gists{/gist_id}","starred_url":"https://api.github.com/users/szymonpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szymonpk/subscriptions","organizations_url":"https://api.github.com/users/szymonpk/orgs","repos_url":"https://api.github.com/users/szymonpk/repos","events_url":"https://api.github.com/users/szymonpk/events{/privacy}","received_events_url":"https://api.github.com/users/szymonpk/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T09:55:48Z","updated_at":"2015-06-23T09:55:48Z","body":"Thx, sorry!"}}