{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/fleet/issues/1000","labels_url":"https://api.github.com/repos/coreos/fleet/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/coreos/fleet/issues/1000/comments","events_url":"https://api.github.com/repos/coreos/fleet/issues/1000/events","html_url":"https://github.com/coreos/fleet/issues/1000","id":46752010,"number":1000,"title":"ExecStop / ExecStopPost not executed when fleetctl destroy is used","user":{"login":"flantel","id":3835944,"avatar_url":"https://avatars.githubusercontent.com/u/3835944?v=3","gravatar_id":"","url":"https://api.github.com/users/flantel","html_url":"https://github.com/flantel","followers_url":"https://api.github.com/users/flantel/followers","following_url":"https://api.github.com/users/flantel/following{/other_user}","gists_url":"https://api.github.com/users/flantel/gists{/gist_id}","starred_url":"https://api.github.com/users/flantel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flantel/subscriptions","organizations_url":"https://api.github.com/users/flantel/orgs","repos_url":"https://api.github.com/users/flantel/repos","events_url":"https://api.github.com/users/flantel/events{/privacy}","received_events_url":"https://api.github.com/users/flantel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/fleet/labels/kind/bug","name":"kind/bug","color":"ff0000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-10-24T15:41:02Z","updated_at":"2016-01-29T00:12:51Z","closed_at":null,"body":"Hi\r\n\r\nUsing fleetctl version 0.8.3 and CoreOS stable, if I stop a unit with 'fleetctl destroy unit.service' the ExecStop and ExecStopPost are not executed. If I use 'fleetctl stop ...' they are.\r\n\r\nIs this expected behaviour? I would have expected (and I think this was the case with earlier versions) that destroy would execute StopExec and StopExecPost.\r\n\r\nThanks.\r\n\r\n-Barry Flanagan\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/fleet/issues/comments/176491894","html_url":"https://github.com/coreos/fleet/issues/1000#issuecomment-176491894","issue_url":"https://api.github.com/repos/coreos/fleet/issues/1000","id":176491894,"user":{"login":"stmuraka","id":14893152,"avatar_url":"https://avatars.githubusercontent.com/u/14893152?v=3","gravatar_id":"","url":"https://api.github.com/users/stmuraka","html_url":"https://github.com/stmuraka","followers_url":"https://api.github.com/users/stmuraka/followers","following_url":"https://api.github.com/users/stmuraka/following{/other_user}","gists_url":"https://api.github.com/users/stmuraka/gists{/gist_id}","starred_url":"https://api.github.com/users/stmuraka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stmuraka/subscriptions","organizations_url":"https://api.github.com/users/stmuraka/orgs","repos_url":"https://api.github.com/users/stmuraka/repos","events_url":"https://api.github.com/users/stmuraka/events{/privacy}","received_events_url":"https://api.github.com/users/stmuraka/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T00:12:51Z","updated_at":"2016-01-29T00:12:51Z","body":"+1 also reproduced with version 0.11.5"}}