Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1372 → Rev 1371

/conf/nfsen/nfsen.service
0,0 → 1,23
# This file is part of systemd.
#
# systemd is free software; you can 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 of the License, or
# (at your option) any later version.
 
# This unit lauches alcasar-load-balancing.sh script.
[Unit]
Description= NfSen init script
After=network.target iptables.service
 
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/nfsen start
ExecStop=/usr/bin/nfsen stop
ExecRestart=/usr/bin/nfsen restart
TimeoutSec=0
SysVStartPriority=99
 
[Install]
WantedBy=multi-user.target
/conf/nfsen/nfsen.conf
30,7 → 30,7
 
#
# Where to install the config files
$CONFDIR="/etc";
$CONFDIR="${BASEDIR}/etc";
 
#
# NfSen html pages directory:
160,7 → 160,7
# Ident strings must be 1 to 19 characters long only, containing characters [a-zA-Z0-9_].
 
%sources = (
'alcasar_netflow' => { 'port' => '2055', 'col' => '#0000ff', 'type' => 'netflow' },
'ipt_netflow' => { 'port' => '2055', 'col' => '#0000ff', 'type' => 'netflow' },
);
 
#