{"action":"created","issue":{"url":"https://api.github.com/repos/turnkeylinux/tracker/issues/362","labels_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/362/comments","events_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/362/events","html_url":"https://github.com/turnkeylinux/tracker/issues/362","id":77232621,"number":362,"title":"[Jessie] PostregreSQL inithook doesn't restart PostgreSQL daemon","user":{"login":"JedMeister","id":818633,"avatar_url":"https://avatars.githubusercontent.com/u/818633?v=3","gravatar_id":"","url":"https://api.github.com/users/JedMeister","html_url":"https://github.com/JedMeister","followers_url":"https://api.github.com/users/JedMeister/followers","following_url":"https://api.github.com/users/JedMeister/following{/other_user}","gists_url":"https://api.github.com/users/JedMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/JedMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedMeister/subscriptions","organizations_url":"https://api.github.com/users/JedMeister/orgs","repos_url":"https://api.github.com/users/JedMeister/repos","events_url":"https://api.github.com/users/JedMeister/events{/privacy}","received_events_url":"https://api.github.com/users/JedMeister/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/turnkeylinux/tracker/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/turnkeylinux/tracker/labels/inithooks","name":"inithooks","color":"eb6420"},{"url":"https://api.github.com/repos/turnkeylinux/tracker/labels/lapp","name":"lapp","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/turnkeylinux/tracker/milestones/4","html_url":"https://github.com/turnkeylinux/tracker/milestones/14.0","labels_url":"https://api.github.com/repos/turnkeylinux/tracker/milestones/4/labels","id":660809,"number":4,"title":"14.0","description":null,"creator":{"login":"JedMeister","id":818633,"avatar_url":"https://avatars.githubusercontent.com/u/818633?v=3","gravatar_id":"","url":"https://api.github.com/users/JedMeister","html_url":"https://github.com/JedMeister","followers_url":"https://api.github.com/users/JedMeister/followers","following_url":"https://api.github.com/users/JedMeister/following{/other_user}","gists_url":"https://api.github.com/users/JedMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/JedMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedMeister/subscriptions","organizations_url":"https://api.github.com/users/JedMeister/orgs","repos_url":"https://api.github.com/users/JedMeister/repos","events_url":"https://api.github.com/users/JedMeister/events{/privacy}","received_events_url":"https://api.github.com/users/JedMeister/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":104,"state":"open","created_at":"2014-05-16T06:37:29Z","updated_at":"2015-09-01T23:35:49Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-05-17T06:30:53Z","updated_at":"2015-09-02T01:14:10Z","closed_at":null,"body":"In the latest build of the LAPP appliance PostgreSQL is not running by default.\r\n\r\nIt seems that the inihook (password set/reset) seems to stop the PostgreSQL service and not restart it."},"comment":{"url":"https://api.github.com/repos/turnkeylinux/tracker/issues/comments/136908258","html_url":"https://github.com/turnkeylinux/tracker/issues/362#issuecomment-136908258","issue_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/362","id":136908258,"user":{"login":"DocCyblade","id":9731860,"avatar_url":"https://avatars.githubusercontent.com/u/9731860?v=3","gravatar_id":"","url":"https://api.github.com/users/DocCyblade","html_url":"https://github.com/DocCyblade","followers_url":"https://api.github.com/users/DocCyblade/followers","following_url":"https://api.github.com/users/DocCyblade/following{/other_user}","gists_url":"https://api.github.com/users/DocCyblade/gists{/gist_id}","starred_url":"https://api.github.com/users/DocCyblade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DocCyblade/subscriptions","organizations_url":"https://api.github.com/users/DocCyblade/orgs","repos_url":"https://api.github.com/users/DocCyblade/repos","events_url":"https://api.github.com/users/DocCyblade/events{/privacy}","received_events_url":"https://api.github.com/users/DocCyblade/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T01:14:10Z","updated_at":"2015-09-02T01:14:10Z","body":"I posted in the other odoo thread but reposted here \r\n\r\n@JedMeister Ok, so I played around with the python script and this is whats going on at \r\nhttps://github.com/turnkeylinux/common/blob/master/overlays/pgsql/usr/lib/inithooks/bin/pgsqlconf.py#L61\r\n\r\nit's trying to start the service (it's already running) it's failing because it is trying to get the status of the service by https://github.com/turnkeylinux/common/blob/master/overlays/pgsql/usr/lib/inithooks/bin/pgsqlconf.py#L49\r\n\r\nI think it's because of the new init system in jessie. You get a different result now with running /etc/init.d/postgresql', 'status I think the script needs revised \r\n\r\n\r\n"}}