Salve,
Ho un problema per quando riguarda lo script di restart dei server in caso di crash..
Io eseguo questo comando da root in questa directory /etc/init.d
Codice:
update-rc.d teamspeak defaults
Mi ritornano questi errori:
Codice:
update-rc.d teamspeak defaults
update-rc.d: using dependency-based boot sequencing
insserv: warning: current start runlevel (s) (3 4 5) of teamspeak `script 'overrides defaults LSB (2 3 4 5).
insserv: warning: stop current run level (s) (0 1 2 6) of teamspeak `script 'overrides defaults LSB (0 1 6).
Il mio file in /etc/init.d/teamspeak è cosi composto:
Codice:
#!/bin/sh
# Copyright (c) 2010 TeamSpeak Systems GmbH
# All rights reserved
### BEGIN INIT INFO
# Provides: teamspeak3-server
# Required-Start: $ALL
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: teamspeak3-server startscipt
### END INIT INFO
# User which will run the Teamspeak-Server
USER=root
# The installation directory of the Teamspeak-Server
DIR=/root/teamspeak3-server_linux-amd64/
# Run the start script
su -c "cd $DIR && $DIR/ts3server_startscript.sh $1" - $USER
Come posso risolvere?
Grazie in anticipo