Shutdown Pi using exec binding in OH2.1 (openhabian)

@Alexaas maybe the first link allready helps you.
If it still does not get executed you can take the long way with a rule, similar setup as the second link.
The long way may also help you debugging by logging the returned massage from the command line.