Results 1 to 10 of 24

Thread: [CoD2/CoD4] Server auto-restart

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Nah, put in the full path.

    PHP Code:
    #!/bin/bash

    screen -S test /home/username/cod2/exectest.sh 
    That way the file can be executed from any directory without issues.

    Also make sure the file permissions are setup correctly.

    chmod -R 755 ./CoD2

    Edit: Also if you're using root then you're doing it wrong.
    Last edited by filthy_freak_; 2nd September 2015 at 23:43.

  2. The Following User Says Thank You to filthy_freak_ For This Useful Post:

    Ni3ls (3rd September 2015)

Posting Permissions

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