Beiträge von enter1991

    oot@euve11222:/etc/init.d# root@euve11222:/etc/init.d# css_server.sh start
    -bash: root@euve11222:/etc/init.d#: No such file or directory
    root@euve11222:/etc/init.d# -bash: css_server.sh: command not found
    -bash: -bash:: command not found
    root@euve11222:/etc/init.d# root@euve11222:/etc/init.d# ./css_server.sh
    -bash: root@euve11222:/etc/init.d#: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 1: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 2: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 3: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 4: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 5: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 6: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 7: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 8: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 9: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 10: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 11: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 12: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 14: : command not found
    -bash: ./css_server.sh:: No such file or directory
    root@euve11222:/etc/init.d# ./css_server.sh: line 15: syntax error near unexpected token `)'
    > ./css_server.sh: line 15: ` start)'
    -bash: syntax error near unexpected token `)'
    root@euve11222:/etc/init.d# root@euve11222:/etc/init.d#
    -bash: root@euve11222:/etc/init.d#: No such file or directory
    root@euve11222:/etc/init.d#


    also ich habe das jetz mal so gemacht


    #!/bin/sh
    #
    # start/stop css daemon.
    ### BEGIN INIT INFO
    # Provides: css
    # Required-Start: $network $all
    # Required-Stop: $network
    # Default-Start: 2 3 4 5 S
    # Default-Stop: 0 1 6
    # Short-Description: CSS Server
    # Description: Counter Strike Source Server
    ### END INIT INFO


    case "$1" in
    start)
    start-stop-daemon --start --background --chuid root --exec /home/css1/css -game cstrike +map de_dust2 -maxplayer 12 -autoupdate &
    esac


    aber will nicht gehen user hab ich jetzt durch root ersetzt

    okay habe den fehler gefunden hast dich verschrieben ;) aber
    wenn ich das eingebe macht er nichts also dann kommt auch keine meldung oder so
    ich habe denn server jetz erst mal wieder über den alten befehl gestartet
    heißt das dann wenn ich denn root neustarte das sich mit deinem befehl der server auch wieder neu starten würde ???
    dann wäre es auf jedenfall geil wenn wir das hinbekommen würden ^^
    lg enteR

    ähm meinst du wenn ich das so eingebe


    sccren -mdS screen1 ./srcds_run -game cstrike +map de_dust -maxplayer 12 -autoupdate


    kommt


    root@**********:/home/css1/css# sccren -mdS screen1 ./srcds_run -game cstrike +map de_dust2 -maxplayer 12 -autoupdate
    -bash: sccren: command not found
    root@***********:/home/css1/css#



    was mach ich denn falsch ? ^^

    Hallo leute
    ich habe jetzt ein css server installt ( war ja zu leicht )
    jetz habe ich aber ein problem
    wenn ich will das der server läuft muss ich putty auf machen und
    ./srcds_run -game cstrike +map de_dust -maxplayer 12 -autoupdate
    wie bekomme ich es hin das mein Root-server den befehl speichert ?


    Serverdaten


    Template Debian 6.0 - Plesk 10.2
    IP-Adressen • 62.75.145.216
    Status Server läuft