rendered paste body
cd /usr/src
rm -rf bacula-2.2.5
tar zxf bacula-2.2.5.tar.gz
cd bacula-2.2.5
cp ../2*patch .
patch -p0 <2.2.5-tray-monitor.patch
patch -p0 <2.2.5-nextvol.patch
./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--sysconfdir=/etc/bacula \
--with-scriptdir=/etc/bacula \
--enable-smartalloc \
--with-openssl \
--with-mysql \
--with-working-dir=/var/lib/bacula \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock \
--with-dir-user=bacula \
--with-dir-group=bacula \
--with-sd-user=bacula \
--with-sd-group=bacula \
--with-fd-user=root \
--with-fd-group=bacula \
--with-dump-email=root@lcalhost \
--with-job-email=root@lcalhost
cd /etc/init.d/ && ln -s /etc/bacula/bacula . && /usr/sbin/update-rc.d bacula defaults
ps aux | grep bacula
bacula 26152 0.0 0.4 7164 2248 ? Ss Oct18 0:00 /usr/sbin/bacula-sd -u bacula -g bacula -v -c /etc/bacula/bacula-sd.conf
root 26160 0.0 0.4 7008 2116 ? Ss Oct18 0:00 /usr/sbin/bacula-fd -u root -g bacula -v -c /etc/bacula/bacula-fd.conf
root 26166 0.0 0.4 7008 2116 ? S Oct18 0:00 /usr/sbin/bacula-fd -u root -g bacula -v -c /etc/bacula/bacula-fd.conf
bacula 26167 0.0 0.4 7164 2248 ? S Oct18 0:00 /usr/sbin/bacula-sd -u bacula -g bacula -v -c /etc/bacula/bacula-sd.conf
bacula 26169 0.0 0.4 7164 2248 ? S Oct18 0:00 /usr/sbin/bacula-sd -u bacula -g bacula -v -c /etc/bacula/bacula-sd.conf
root 26170 0.0 0.4 7008 2116 ? S Oct18 0:00 /usr/sbin/bacula-fd -u root -g bacula -v -c /etc/bacula/bacula-fd.conf