{"action":"created","issue":{"url":"https://api.github.com/repos/bonidier/synodlna-index/issues/4","labels_url":"https://api.github.com/repos/bonidier/synodlna-index/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/bonidier/synodlna-index/issues/4/comments","events_url":"https://api.github.com/repos/bonidier/synodlna-index/issues/4/events","html_url":"https://github.com/bonidier/synodlna-index/issues/4","id":55425420,"number":4,"title":"inotifywait crashes","user":{"login":"andlommy","id":8452652,"avatar_url":"https://avatars.githubusercontent.com/u/8452652?v=3","gravatar_id":"","url":"https://api.github.com/users/andlommy","html_url":"https://github.com/andlommy","followers_url":"https://api.github.com/users/andlommy/followers","following_url":"https://api.github.com/users/andlommy/following{/other_user}","gists_url":"https://api.github.com/users/andlommy/gists{/gist_id}","starred_url":"https://api.github.com/users/andlommy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andlommy/subscriptions","organizations_url":"https://api.github.com/users/andlommy/orgs","repos_url":"https://api.github.com/users/andlommy/repos","events_url":"https://api.github.com/users/andlommy/events{/privacy}","received_events_url":"https://api.github.com/users/andlommy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T19:05:30Z","updated_at":"2015-01-27T19:17:56Z","closed_at":null,"body":"On my system inotifywait has a tendency to crash after a while, not straight away but after a few days.\r\nDoes the current script check if inotifywait is running and restart it if it failed?"},"comment":{"url":"https://api.github.com/repos/bonidier/synodlna-index/issues/comments/71709177","html_url":"https://github.com/bonidier/synodlna-index/issues/4#issuecomment-71709177","issue_url":"https://api.github.com/repos/bonidier/synodlna-index/issues/4","id":71709177,"user":{"login":"bonidier","id":5502640,"avatar_url":"https://avatars.githubusercontent.com/u/5502640?v=3","gravatar_id":"","url":"https://api.github.com/users/bonidier","html_url":"https://github.com/bonidier","followers_url":"https://api.github.com/users/bonidier/followers","following_url":"https://api.github.com/users/bonidier/following{/other_user}","gists_url":"https://api.github.com/users/bonidier/gists{/gist_id}","starred_url":"https://api.github.com/users/bonidier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonidier/subscriptions","organizations_url":"https://api.github.com/users/bonidier/orgs","repos_url":"https://api.github.com/users/bonidier/repos","events_url":"https://api.github.com/users/bonidier/events{/privacy}","received_events_url":"https://api.github.com/users/bonidier/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T19:17:56Z","updated_at":"2015-01-27T19:17:56Z","body":"Hi @andlommy , thanks for using and your feedback !\r\n\r\nDid you get logs about inotifywait crash reasons ?\r\n```\r\n/opt/etc/init.d/S99synodlna-reindex-inotify log\r\n```\r\n\r\nYou should also look at inotify-tools issues, maybe one of them will match this behavior\r\nhttps://github.com/rvoicilas/inotify-tools/issues\r\n\r\nCurrently, the init.d script doesn't check constantly if inotifywait is up, only if it's started, but that's a nice idea !"}}