Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cd /usr/src/bacula-9.2.1
- ./configure \
- --enable-smartalloc \
- --with-postgresql \
- --with-db-user=bacula \
- --with-db-password=PASSWORD \
- --with-db-port=5432 \
- --with-readline=/usr/include/readline \
- --sysconfdir=/etc/bacula \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --with-scriptdir=/etc/bacula/scripts \
- --with-plugindir=/etc/bacula/plugins \
- --with-pid-dir=/var/run \
- --with-subsys-dir=/etc/bacula/working \
- --with-working-dir=/etc/bacula/working \
- --with-bsrdir=/etc/bacula/bootstrap \
- --with-logdir=/var/log/bacula \
- --with-systemd \
- --disable-conio \
- --disable-nls \
- --with-logdir=/var/log/bacula \
- --with-hostname=HOSTANME \
- --with-dump-email=bacula@teste.com.br \
- --with-job-email=bacula@teste.com.br
- make -j8 && make install && make install-autostart
- systemctl restart bacula-{dir,fd,sd}
- systemctl status bacula-{dir,fd,sd}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement