{"action":"closed","issue":{"url":"https://api.github.com/repos/jamesrwhite/minicron/issues/141","labels_url":"https://api.github.com/repos/jamesrwhite/minicron/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/jamesrwhite/minicron/issues/141/comments","events_url":"https://api.github.com/repos/jamesrwhite/minicron/issues/141/events","html_url":"https://github.com/jamesrwhite/minicron/issues/141","id":106940303,"number":141,"title":"Authentication error occurred when saving a job's settings","user":{"login":"Huron","id":693433,"avatar_url":"https://avatars.githubusercontent.com/u/693433?v=3","gravatar_id":"","url":"https://api.github.com/users/Huron","html_url":"https://github.com/Huron","followers_url":"https://api.github.com/users/Huron/followers","following_url":"https://api.github.com/users/Huron/following{/other_user}","gists_url":"https://api.github.com/users/Huron/gists{/gist_id}","starred_url":"https://api.github.com/users/Huron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huron/subscriptions","organizations_url":"https://api.github.com/users/Huron/orgs","repos_url":"https://api.github.com/users/Huron/repos","events_url":"https://api.github.com/users/Huron/events{/privacy}","received_events_url":"https://api.github.com/users/Huron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T08:58:09Z","updated_at":"2015-09-17T11:38:00Z","closed_at":"2015-09-17T11:38:00Z","body":"![image](https://cloud.githubusercontent.com/assets/693433/9928968/64da8a2e-5d32-11e5-95b1-7f9835063dfa.png)\r\n\r\nI get this error when I try to save job settings. The attempt of connection to the host from the console succeeds with same ssh key.\r\n\r\nP.S. And add new job too...\r\n\r\nI've got a case for reproducing the error. When I launch minicron from command line by command **minicron server start** it works normally. If I launch it by the init script I've got error when try to make any changes.\r\n\r\n```\r\n#!/bin/bash\r\n\r\nPID=/var/run/minicron.pid\r\nBIN=/usr/local/bin/minicron\r\n\r\ncase \"$1\" in\r\n    start)\r\n        start-stop-daemon --start --pidfile $PID --exec $BIN -- server start\r\n    ;;\r\n    stop)\r\n        $BIN server stop\r\n    ;;\r\n    restart)\r\n        $0 stop\r\n        sleep 3\r\n        $0 start\r\n    ;;\r\nesac\r\n```"}}