diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rwxr-xr-x | Config | 2 | ||||
-rw-r--r-- | data/example.chk | 4 | ||||
-rw-r--r-- | data/example.conf | 2 | ||||
-rw-r--r-- | docs/INSTALL | 8 | ||||
-rw-r--r-- | docs/INSTALL.fr | 8 | ||||
-rw-r--r-- | docs/MODULES | 4 | ||||
-rw-r--r-- | docs/TOOLS | 2 | ||||
-rw-r--r-- | include/anope.h | 2 |
9 files changed, 17 insertions, 17 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b06bf1f6..be2b38261 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -174,7 +174,7 @@ find_program(CHMOD chmod) if(INSTDIR) set(CMAKE_INSTALL_PREFIX "${INSTDIR}") elseif(NOT CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "$ENV{HOME}/services") + set(CMAKE_INSTALL_PREFIX "$ENV{HOME}/anope") endif(INSTDIR) # Set default paths for various directories if not already defined @@ -108,7 +108,7 @@ export ECHO2 ECHO2SUF # Init values ########################################################################### -INSTDIR=$HOME/services +INSTDIR=$HOME/anope RUNGROUP= UMASK= DEBUG="no" diff --git a/data/example.chk b/data/example.chk index 179513a9b..e71928f1c 100644 --- a/data/example.chk +++ b/data/example.chk @@ -9,10 +9,10 @@ ############################################################### # Anope binary directory -ANOPATH=/home/ircd/services/bin +ANOPATH=/home/ircd/anope/bin # Anope data directory -ANODATA=/home/ircd/services/data +ANODATA=/home/ircd/anope/data # Name of the pid file ANOPIDF=anope.pid diff --git a/data/example.conf b/data/example.conf index f1adba437..6d661cb57 100644 --- a/data/example.conf +++ b/data/example.conf @@ -1,7 +1,7 @@ /* * Example configuration file for Services. After making the appropriate * changes to this file, place it in the Services conf directory (as - * specified in the "configure" script, default /home/username/services/conf) + * specified in the "configure" script, default /home/username/anope/conf) * under the name "services.conf". * * The format of this file is fairly simple: three types of comments are supported: diff --git a/docs/INSTALL b/docs/INSTALL index 443036c60..2717bc2c2 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -52,7 +52,7 @@ Note: You should also read the README and FAQ files! cause trouble on your network if passwords are not encrypted, or read the memos of any user. - Now go into the conf directory (by default, ~/services/conf). Copy the example + Now go into the conf directory (by default, ~/anope/conf). Copy the example configuration file (example.conf) to services.conf, and open the latter with your favorite text editor. It contains all the configuration directives Anope will use at startup. Read the instructions contained in @@ -95,7 +95,7 @@ Note: You should also read the README and FAQ files! 4) Starting Anope Go into the directory where binaries were installed (by default, this is - ~/services/bin). Type ./anope to launch Anope. + ~/anope/bin). Type ./anope to launch Anope. If there are syntax errors in the configuration file they will be displayed on the screen. Correct them until there are no errors anymore. @@ -116,7 +116,7 @@ Note: You should also read the README and FAQ files! still running, and restart it if not. First rename the example.chk script that is in Anope path (by default, - this is ~/services/conf) to services.chk and edit it. You'll need to + this is ~/anope/conf) to services.chk and edit it. You'll need to modify the CONFIGURATION part of the file. Then ensure that the file is marked as executable by typing chmod +x services.chk, and try to launch the script to see if it works (Anope must not be running when you do this ;)) @@ -125,7 +125,7 @@ Note: You should also read the README and FAQ files! This will open the default text editor with the crontab file. Enter the following (with correct path): - */5 * * * * /home/ircd/services/conf/services.chk >/dev/null 2>&1 + */5 * * * * /home/ircd/anope/conf/services.chk >/dev/null 2>&1 The */5 at the beginning means "check every 5 minutes". You may replace the 5 with other another number if you want (but less than 60). Consult diff --git a/docs/INSTALL.fr b/docs/INSTALL.fr index 23fd47ec6..447cc4bb2 100644 --- a/docs/INSTALL.fr +++ b/docs/INSTALL.fr @@ -55,7 +55,7 @@ Note : Vous devrez également lire les fichiers README et FAQ ! mots de passe ne sont pas chiffrés, ou lire les mémos de tous les utilisateurs. - Allez maintenant dans le répertoire conf (par défaut, ~/services/conf). + Allez maintenant dans le répertoire conf (par défaut, ~/anope/conf). Copiez l'exemple de fichier de configuration (example.conf) en services.conf et ouvrez ce dernier avec votre éditeur de texte favori. Il contient toutes les directives de configuration qu'Anope va utiliser @@ -104,7 +104,7 @@ Note : Vous devrez également lire les fichiers README et FAQ ! 4) Mettre en route Anope Allez dans le répertoire où les fichiers binaires ont été installés - (par défaut, ~/services/bin). Tapez ./anope pour lancer Anope. + (par défaut, ~/anope/bin). Tapez ./anope pour lancer Anope. S'il y a des erreurs de syntaxe dans le fichier de configuration, elles seront affichées à l'écran. Corrigez-les jusqu'à ce qu'il n'y en ait @@ -127,7 +127,7 @@ Note : Vous devrez également lire les fichiers README et FAQ ! est toujours en cours d'exécution et de le redémarrer s'il n'est pas. D'abord renommez le script example.chk qui est dans les dossiers - d'Anope (par défaut, ~/services/conf) en services.chk et modifiez-le. + d'Anope (par défaut, ~/anope/conf) en services.chk et modifiez-le. Vous aurez besoin de modifier la partie CONFIGURATION du fichier. Assurez-vous ensuite que le fichier est marqué comme exécutable en tapant chmod +x services.chk et essayez de lancer le script pour voir @@ -138,7 +138,7 @@ Note : Vous devrez également lire les fichiers README et FAQ ! crontab -e. Cela va ouvrir l'éditeur de texte par défaut avec le fichier crontab. Entrez la ligne suivante (avec le chemin correct) : - */5 * * * * /home/ircd/services/conf/services.chk > /dev/null 2>&1 + */5 * * * * /home/ircd/anope/conf/services.chk > /dev/null 2>&1 Le */5 au début signifie "vérifier toutes les 5 minutes". Vous pouvez remplacer le 5 par un autre numéro si vous voulez (mais moins de 60). diff --git a/docs/MODULES b/docs/MODULES index f7997547b..e73412627 100644 --- a/docs/MODULES +++ b/docs/MODULES @@ -22,7 +22,7 @@ Anope Modules 1. If modules are supported by your system, they will be configured automatically when you run ./Config. The modules will be installed to the modules directory in your data path (by default this will - be ~/services/data/modules). + be ~/anope/data/modules). 2. Compile Anope as usual using ./Config. The "make" process will now compile module support into Anope, and compile the default sample @@ -98,7 +98,7 @@ Anope Modules 1. Make sure you're in the main source directory. (usually anope-1.X.XX/) 2. Run ./Config to find and configure modules, then `cd build`. 3. Run `make` to compile Anope, and any modules. - 4. Run `make install` to copy the compiled binaries to the ~/services/ + 4. Run `make install` to copy the compiled binaries to the ~/anope/ directory. You can now use /msg OperServ MODLOAD to load the new modules. diff --git a/docs/TOOLS b/docs/TOOLS index c8e92fc70..2ef279261 100644 --- a/docs/TOOLS +++ b/docs/TOOLS @@ -13,7 +13,7 @@ Anope Bundled Tools followed by "bin/anopesmtp" and the IP address of a valid SMTP server. It should look like this: - sendmailpath = "/home/anope/services/bin/anopesmtp 127.0.0.1" + sendmailpath = "/home/ircd/anope/bin/anopesmtp 127.0.0.1" If the SMTP client doesn't send mail, or if there's an other problem with it, you can enable debug mode by passing the --debug flag after the server diff --git a/include/anope.h b/include/anope.h index f6e864300..e41fd55e6 100644 --- a/include/anope.h +++ b/include/anope.h @@ -364,7 +364,7 @@ namespace Anope */ extern CoreExport bool ReadOnly, NoFork, NoThird, NoExpire, ProtocolDebug; - /** The root of the services installation. Usually ~/services + /** The root of the services installation. Usually ~/anope */ extern CoreExport Anope::string ServicesDir; |