Aller au contenu | Aller au menu | Aller à la recherche


Warsow

Warsow le jeu FPS gratuit à la Quake !

Je n'en dirait pas plus que Wikipedia : Warsow.

Je laisserai juste des notes de script pour configurer le serveur Warsow


# vim /etc/init.d/warsow.sh
#!/bin/bash

### BEGIN INIT INFO
# Provides:          warsow
# Required-Start:    
# Required-Stop:     
# Default-Start:     S
# Default-Stop:      0 6
### END INIT INFO

cd /home/warsow_15 && /home/warsow_15/dedicated.sh &

# chmod +x /etc/init.d/warsow.sh
# runlevel
# update-rc.d warsow.sh defaults 100

update-rc.d: using dependency based boot sequencing
insserv: warning: script 'warsow.sh' missing LSB tags and overrides

update-rc.d: using dependency based boot sequencing
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match warsow.sh Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match warsow.sh Default-Stop values (0 6)
insserv: warning: current start runlevel(s) (2 3 4 5) of script `warsow.sh' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 1 6) of script `warsow.sh' overrides LSB defaults (0 6).

# vim /home/warsow_15/dedicated.sh
#!/bin/sh
while true; do
./wsw_server
done

### BEGIN INIT INFO
# Provides:          warsow
# Required-Start:    
# Required-Stop:     
# Default-Start:     S
# Default-Stop:      0 6
### END INIT INFO

### BEGIN INIT INFO
# Provides:          rsyncd
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      $named
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: fast remote file copy program daemon
# Description:       rsync is a program that allows files to be copied to and
#                    from remote machines in much the same way as rcp.
#                    This provides rsyncd daemon functionality.
### END INIT INFO

### BEGIN INIT INFO
# Provides:          hdparm
# Required-Start:    mountdevsubfs
# Required-Stop:
# Should-Start:      udev
# Default-Start:     S
# Default-Stop:
# Short-Description: Tune IDE hard disks
### END INIT INFO

### BEGIN INIT INFO
# Provides:          halt
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:      0
# Short-Description: Execute the halt command.
# Description:
### END INIT INFO

### BEGIN INIT INFO
# Provides:          single
# Required-Start:    $local_fs $all killprocs
# Required-Stop:
# Default-Start:     1
# Default-Stop:
# Short-Description: executed by init(8) upon entering runlevel 1 (single).
### END INIT INFO

### BEGIN INIT INFO
# Provides:          hwclock
# Required-Start:    mountdevsubfs
# Required-Stop:     $local_fs
# Default-Start:     S
# X-Start-Before:    checkroot
# Default-Stop:      0 6
### END INIT INFO

Ajouter un commentaire

Le code HTML est affiché comme du texte et les adresses web sont automatiquement transformées.

Fil des commentaires de ce billet