Results 1 to 10 of 24

Thread: [CoD2/CoD4] Server auto-restart

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Ni3ls View Post
    I get the error No such file or directory, while the files are there.
    Code:
    #!/bin/bash
    
    screen -S test /exectest.sh
    Both placed in same folder as from where I run the command
    Code:
    bash startexectest.sh
    Have you tried to execute it with 'sh'?
    Where did you place exectest.sh? In / (root) or home directory (~/exectest.sh)?

    Edit: if startexectest.sh and exectest.sh are in the same directory then you remove \ from your start script.
    Last edited by Mitch; 2nd September 2015 at 15:35.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •