- Save PID file in var/run/ and logfiles in var/log/
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 14 Jul 2015 10:07:46 +0000 (10:07 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 14 Jul 2015 10:07:46 +0000 (10:07 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.1.x@6273 82007160-df01-0410-b94d-b575c5fd34c7

Makefile.am
doc/reference.conf
src/Makefile.am

index 7d569976d74aacc205741670edd34ca66aaf540b..75e1af348683cf3e5cb8124efda17bf93da8b36c 100644 (file)
@@ -3,4 +3,5 @@ AUTOMAKE_OPTIONS = foreign
 SUBDIRS = doc src
 
 install-data-local:
-       $(INSTALL) -d $(DESTDIR)${localstatedir}
+       $(INSTALL) -d $(DESTDIR)${localstatedir}/log
+       $(INSTALL) -d $(DESTDIR)${localstatedir}/run
index 3bcac7e827a1946453eb66f991c205ec72671663..0f8d55b4da7216cd0d476f93ca7d3ae881e8118c 100644 (file)
@@ -24,7 +24,7 @@ options {
         * Full path and filename for storing the process ID of the running
         * HOPM.
         */
-       pidfile = "/some/path/var/hopm.pid";
+       pidfile = "/some/path/var/run/hopm.pid";
 
        /*
         * How long to store the IP address of hosts which are confirmed
@@ -70,7 +70,7 @@ options {
         * the scan in question can be useful. Leave commented for no
         * logging.
         */
-#      scanlog = "/some/path/var/scan.log";
+#      scanlog = "/some/path/var/log/scan.log";
 };
 
 
index 425608205965f47e21bfeb3a7c3a0be24c8524f1..f918af04d7b79e62c5cfb83d5396b584818107d4 100644 (file)
@@ -1,7 +1,7 @@
 SUBDIRS = libopm
 bin_PROGRAMS = hopm
 
-AM_CPPFLAGS = -DHOPM_ETCDIR="\"$(sysconfdir)\"" -DHOPM_LOGDIR="\"$(localstatedir)\""
+AM_CPPFLAGS = -DHOPM_ETCDIR="\"$(sysconfdir)\"" -DHOPM_LOGDIR="\"$(localstatedir)/log\""
 AM_YFLAGS = -d
 
 hopm_SOURCES = compat.c        \