Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3

Thread: Script restart Sbox

  1. #1
    Standard RSP member satyca's Avatar
    Join Date
    03 Oct 2008
    Posts
    275
    Mentioned
    1 Post(s)
    Rep Power
    42

    Default Script restart Sbox

    Va rog ,ma poate ajuta cineva un script pentru restartare Sbox gata configurat.

    Multumesc Anticipat.
    Last edited by val; 11-08-10 at 11:39.

  2. #2
    maniac lao's Avatar
    Join Date
    02 Sep 2009
    Posts
    2,835
    Mentioned
    11 Post(s)
    Rep Power
    64

    Default script

    daca vrei sa ti-l verifice daca ruleaza si in caz ca nu ssa-l reporneasca incearca asta . E pentru E1

    #!/bin/sh
    if ps x |grep -v grep |grep -c sbox >/dev/null
    then
    echo "sbox ok"
    else
    echo "sbox restarting"
    /var/bin/sbox &
    fi

  3. #3
    Standard RSP member satyca's Avatar
    Join Date
    03 Oct 2008
    Posts
    275
    Mentioned
    1 Post(s)
    Rep Power
    42

    Default Ms frumos

    Multumesc frumos lao pentru ajutor.


    Last edited by val; 11-08-10 at 11:39.

Posting Permissions

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