Hi I have eddie installed on a headless Ubuntu 14.04 server and I cant get it to start my script, I dont know if its the script which is wrong or the the way I am calling it. I am new to all this. The session starts ok but the service does not start. The service starts and stops ok outside of the script. Thanks for the help in advance
sudo airvpn -cli login=XXXX password=xxx remember=true server=alrai connect=true event.vpn.up.filename = home/mylaptop/.airvpn/start-deluged event.vpn.down.filename = home/mylaptop/.airvpn/stop-deluged
The start/stop scripts are owned by root and are executable
#!/bin/sh
#start deluged whith vpn up
service deluged start
!/bin/bash
#stop deluged when vpn goes down
service deluged stop