Advertisement
Guest User

Untitled

a guest
May 31st, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/bin/sh
  2. case "$1" in
  3. start)
  4. su ts -c "/home/ts/AccountingServerEmulator-Linux"
  5. sleep 2
  6. su ts -c "/home/ts/ts3server_startscript.sh start"
  7. ;;
  8. stop)
  9. su ts -c "/home/ts/ts3server_startscript.sh stop"
  10. ;;
  11. *)
  12. echo "Usage: $0 {start|stop}"
  13. exit 1
  14. ;;
  15. esac
  16. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement