{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-bind/issues/51","repository_url":"https://api.github.com/repos/sameersbn/docker-bind","labels_url":"https://api.github.com/repos/sameersbn/docker-bind/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-bind/issues/51/comments","events_url":"https://api.github.com/repos/sameersbn/docker-bind/issues/51/events","html_url":"https://github.com/sameersbn/docker-bind/issues/51","id":305634035,"number":51,"title":"Logrotate ERROR: No running copy","user":{"login":"sameersbn","id":410147,"avatar_url":"https://avatars0.githubusercontent.com/u/410147?v=4","gravatar_id":"","url":"https://api.github.com/users/sameersbn","html_url":"https://github.com/sameersbn","followers_url":"https://api.github.com/users/sameersbn/followers","following_url":"https://api.github.com/users/sameersbn/following{/other_user}","gists_url":"https://api.github.com/users/sameersbn/gists{/gist_id}","starred_url":"https://api.github.com/users/sameersbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameersbn/subscriptions","organizations_url":"https://api.github.com/users/sameersbn/orgs","repos_url":"https://api.github.com/users/sameersbn/repos","events_url":"https://api.github.com/users/sameersbn/events{/privacy}","received_events_url":"https://api.github.com/users/sameersbn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-15T16:48:24Z","updated_at":"2018-03-15T16:48:26Z","closed_at":null,"author_association":"OWNER","body":"root@88efec7f40cd:/# squid3 -k rotate\nsquid: ERROR: No running copy\n\nroot@88efec7f40cd:/# cat /var/run/squid3.pid \n1\n\nAny ideas?\nTIA\n\n"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-bind/issues/comments/373445134","html_url":"https://github.com/sameersbn/docker-bind/issues/51#issuecomment-373445134","issue_url":"https://api.github.com/repos/sameersbn/docker-bind/issues/51","id":373445134,"user":{"login":"sameersbn","id":410147,"avatar_url":"https://avatars0.githubusercontent.com/u/410147?v=4","gravatar_id":"","url":"https://api.github.com/users/sameersbn","html_url":"https://github.com/sameersbn","followers_url":"https://api.github.com/users/sameersbn/followers","following_url":"https://api.github.com/users/sameersbn/following{/other_user}","gists_url":"https://api.github.com/users/sameersbn/gists{/gist_id}","starred_url":"https://api.github.com/users/sameersbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameersbn/subscriptions","organizations_url":"https://api.github.com/users/sameersbn/orgs","repos_url":"https://api.github.com/users/sameersbn/repos","events_url":"https://api.github.com/users/sameersbn/events{/privacy}","received_events_url":"https://api.github.com/users/sameersbn/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T16:48:26Z","updated_at":"2018-03-15T16:48:26Z","author_association":"OWNER","body":"➤ stefcl commented:\n\nPerhaps it would be safer to use copytruncate, given that we can't invoke the  -k rotate command to tell squid to reopen the file?\n\n>        copytruncate\n>               Truncate  the  original log file in place after creating a copy,\n>               instead of moving the old log file and optionally creating a new\n>               one,  It  can be used when some program can not be told to close\n>               its logfile and thus might continue writing (appending)  to  the\n>               previous log file forever.  Note that there is a very small time\n>               slice between copying the file and truncating it, so  some  log-\n>               ging  data  might be lost.  When this option is used, the create\n>               option will have no effect, as the old log file stays in  place.\n\nOtherwise, it may be possible to use kill -USR1 1 (where \"1\" is the main app PID number in docker) according to the squid.conf file\n"}}
{"actor":{"display_login":"sameersbn"}}