{"action":"created","issue":{"url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/15","repository_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci","labels_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/15/comments","events_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/15/events","html_url":"https://github.com/50ButtonsEach/fliclib-linux-hci/issues/15","id":158351801,"number":15,"title":"start flicd as a deamon on boot","user":{"login":"gnoe8307","id":19608440,"avatar_url":"https://avatars.githubusercontent.com/u/19608440?v=3","gravatar_id":"","url":"https://api.github.com/users/gnoe8307","html_url":"https://github.com/gnoe8307","followers_url":"https://api.github.com/users/gnoe8307/followers","following_url":"https://api.github.com/users/gnoe8307/following{/other_user}","gists_url":"https://api.github.com/users/gnoe8307/gists{/gist_id}","starred_url":"https://api.github.com/users/gnoe8307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnoe8307/subscriptions","organizations_url":"https://api.github.com/users/gnoe8307/orgs","repos_url":"https://api.github.com/users/gnoe8307/repos","events_url":"https://api.github.com/users/gnoe8307/events{/privacy}","received_events_url":"https://api.github.com/users/gnoe8307/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-03T12:00:24Z","updated_at":"2016-06-17T17:50:10Z","closed_at":null,"body":"hi there,\r\n\r\nI can't find a way to launch flicd as a deamon on boot (I'm a on Raspberry PI3).\r\n\r\nI have tried the following things (logged in admin) without success so far:\r\n\r\n**- rc.local :** \r\n- I have added the following line in rc.local right above exit 0:\r\n`$  /home/pi/Applications/flic/fliclib-linux-hci-master/bin/armv6l/./flicd -d -f flic.sqlite 3 &`\r\n- when I run rc.local manually, it works: flicd is started as a deamon\r\n- simple scripts in rc.local work on reboot (such as `$ \"test\" > /home/pi/Documents/testrclocal`)\r\n\r\n**crontab**\r\n- I edit the crontab with `$crontab -e`\r\n- I add the following line at the bottom:\r\n `$@reboot /home/pi/Applications/flic/fliclib-linux-hci-master/bin/armv6l/./flicd -d -f flic.sqlite 3 &`\r\n- simple scripts in crontab work on reboot (such as `date >>/home/pi/Documents/hueapi/hue_server.log`\r\n\r\nAm I missing something here?\r\nThanks in advance for your support.\r\n"},"comment":{"url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/comments/226836112","html_url":"https://github.com/50ButtonsEach/fliclib-linux-hci/issues/15#issuecomment-226836112","issue_url":"https://api.github.com/repos/50ButtonsEach/fliclib-linux-hci/issues/15","id":226836112,"user":{"login":"CheapB","id":5741458,"avatar_url":"https://avatars.githubusercontent.com/u/5741458?v=3","gravatar_id":"","url":"https://api.github.com/users/CheapB","html_url":"https://github.com/CheapB","followers_url":"https://api.github.com/users/CheapB/followers","following_url":"https://api.github.com/users/CheapB/following{/other_user}","gists_url":"https://api.github.com/users/CheapB/gists{/gist_id}","starred_url":"https://api.github.com/users/CheapB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CheapB/subscriptions","organizations_url":"https://api.github.com/users/CheapB/orgs","repos_url":"https://api.github.com/users/CheapB/repos","events_url":"https://api.github.com/users/CheapB/events{/privacy}","received_events_url":"https://api.github.com/users/CheapB/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T17:50:10Z","updated_at":"2016-06-17T17:50:10Z","body":"Any progress on getting the  \"best practice\" deamon readme written up? looking forward.."}}
{"actor":{"display_login":"CheapB"}}