This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| CSI="\033[" | |
| CEND="${CSI}0m" | |
| CGREEN="${CSI}1;32m" | |
| CRED="${CSI}1;31m" | |
| RTORRENT_PID=$(netstat -tlnp | awk '/:45000 */ {split($NF,a,"/"); print a[1]}') | |
| # Vérification du fonctionnement de RTorrent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CSI="\033[" | |
| CEND="${CSI}0m" | |
| CRED="${CSI}1;31m" | |
| CCYAN="${CSI}1;36m" | |
| ipban() { | |
| ACTION=$1 | |
| IP=$2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # init.d script for prelude-correlator with LSB support. | |
| # | |
| # Copyright (c) 2008 Pierre Chifflier <pollux@debian.org> | |
| # | |
| # This is free software; you may redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as | |
| # published by the Free Software Foundation; either version 2, | |
| # or (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh -e | |
| ### BEGIN INIT INFO | |
| # Provides: prelude-lml | |
| # Required-Start: $syslog $remote_fs | |
| # Required-Stop: $syslog $remote_fs | |
| # Should-Start: $local_fs | |
| # Should-Stop: $local_fs | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Start prelude-lml sensor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # init.d script for prelude-manager with LSB support. | |
| # | |
| # Copyright (c) 2008 Pierre Chifflier <pollux@debian.org> | |
| # | |
| # This is free software; you may redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as | |
| # published by the Free Software Foundation; either version 2, | |
| # or (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Variables couleurs | |
| CSI="\033[" | |
| CEND="${CSI}0m" | |
| CGREEN="${CSI}1;32m" | |
| # PID du processus | |
| PID=$(netstat -tlnp | awk '/:8000 */ {split($NF,a,"/"); print a[1]}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Postfix master process configuration file. For details on the format | |
| # of the file, see the master(5) manual page (command: "man 5 master"). | |
| # | |
| # Do not forget to execute "postfix reload" after editing this file. | |
| # | |
| # ========================================================================== | |
| # service type private unpriv chroot wakeup maxproc command + args | |
| # (yes) (yes) (yes) (never) (100) | |
| # ========================================================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssl = required | |
| ssl_cert = </etc/ssl/certs/mailserver.crt | |
| ssl_key = </etc/ssl/private/mailserver.key | |
| ssl_protocols = !SSLv2 !SSLv3 | |
| ssl_cipher_list = ALL:!aNULL:!eNULL:!LOW:!MEDIUM:!EXP:!RC2:!RC4:!DES:!3DES:!MD5:!PSK:!SRP:!DSS:!AECDH:!ADH:@STRENGTH | |
| ssl_prefer_server_ciphers = yes # Dovecot > 2.2.x | |
| ssl_dh_parameters_length = 2048 # Dovecot > 2.2.x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| service imap-login { | |
| inet_listener imap { | |
| port = 143 | |
| } | |
| inet_listener imaps { | |
| port = 993 | |
| ssl = yes | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| disable_plaintext_auth = yes | |
| auth_mechanisms = plain login | |
| !include auth-sql.conf.ext |