Log_daemon_msg "Restarting $DESC" "$NAME1"ġ) log_end_msg 1 # Old process is still runningĮcho "Usage: $SCRIPTNAME " >&2Įnfin, on rend ce script exécutable et on indique au système de le démarrer au bootĬhmod 755 /etc/init.d/deluge-daemon & update-rc.d deluge-daemon defaults & log_daemon_msg "Stopping $DESC" "$NAME1" & log_daemon_msg "Starting $DESC" "$NAME1"Ġ|1) & log_end_msg 0 Ģ) & log_end_msg 1 Start-stop-daemon -stop -quiet -retry=TERM/30/KILL/5 -user $DELUGED_USER -pidfile $PIDFILE1 Start-stop-daemon -stop -quiet -retry=TERM/30/KILL/5 -user $DELUGED_USER -pidfile $PIDFILE2 chuid $DELUGED_USER -user $DELUGED_USER -umask $UMASK - $DAEMON2_ARGS Start-stop-daemon -start -background -quiet -pidfile $PIDFILE2 -make-pidfile -exec $DAEMON2 chuid $DELUGED_USER -user $DELUGED_USER -umask $UMASK - $DAEMON1_ARGS Start-stop-daemon -start -background -quiet -pidfile $PIDFILE1 -make-pidfile -exec $DAEMON1 Start-stop-daemon -start -background -quiet -pidfile $PIDFILE2 -exec $DAEMON2 chuid $DELUGED_USER -user $DELUGED_USER -umask $UMASK -test > /dev/null Start-stop-daemon -start -background -quiet -pidfile $PIDFILE1 -exec $DAEMON1
# Function that starts the daemon/service Log_warning_msg "Not starting $PKGNAME, DELUGED_USER not set in /etc/default/$PKGNAME." Log_warning_msg "Not starting $PKGNAME, edit /etc/default/$PKGNAME to start it." # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. # Load the VERBOSE setting and other rcS variables
# Read configuration variable file if it is present UMASK=022 # Change this to 0 if running deluged as its own user PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binĭAEMON1_ARGS="-d" # Consult `man deluged` for more optionsĭAEMON2_ARGS="" # Consult `man deluge-web` for more options # Description: Starts the deluge daemon with the user specified in # Short-Description: Daemonized version of deluge and webui. Il permet de lancer, redémarrer et arrêter le démon et le webserver. On édite ensuite le fichier de lancement, contenant toutes les commandes pour piloter notre serveur torrent. # The init.d script will only run if this variable non-empty. etc/default/deluge-daemon # Configuration for /etc/init.d/deluge-daemon Puis on crée le fichier de configuration pour renseigner l’utilisateur et le lancement automatique.
On commence par installer les paquets nécessaires Nous allons voir ici comment installer et paramétrer le démon et son webserver sur une machine pour y accéder de manière sécurisée depuis un autre ordinateur via son navigateur internet. Son principal avantage est de pouvoir l’installer sur un poste, et y accéder depuis un autre ordinateur par un client lourd ou une interface web.
You can free download Deluge and safe install the latest trial or new full version for Windows 10 (x32, 64 bit, 86) from the official site.Deluge est un client torrent pour linux assez populaire.
The program is suitable for Windows, Mac OS X and Linux. With a BitTorrent client is it possible to download files and upload via a network of users.ĭeluge is a lightweight, and free BitTorrent client.