#!/usr/bin/env ssm service_type='oneshot' service_command=( /usr/bin/znet -d up ) ifaces=( 'eth0' 'warp' ) pre_stop() { "$service_command" "${service_args[@]}" down }