Seu script deve se parecer com:
# description "Starts HMA VPN"
# author "Me <[email protected]>"
start on runlevel [2345]
stop on runlevel [016]
respawn
expect fork
exec sudo /usr/local/bin/hma-vpn -p tcp London
Para começar, use:
sudo service hmastart start