Bacula-users

Re: [Bacula-users] clarify 'with-systemd' usage?

2016-02-26 01:19:08
Subject: Re: [Bacula-users] clarify 'with-systemd' usage?
From: Kern Sibbald <kern AT sibbald DOT com>
To: PGNet Dev <pgnet.dev AT gmail DOT com>, bacula-users AT lists.sourceforge DOT net
Date: Fri, 26 Feb 2016 16:17:06 +1000
There may be a special target that you can use for installing systemd, 
but the easiest way should be:

- do configure as yu did
- build and install Bacula normally
- cd <bacula>/platforms/systemd
- make install

That *should* do everything you need, but I have never tried it.

Best regards,
Kern


On 02/20/2016 11:56 PM, PGNet Dev wrote:
> After a bacula 7.4 build,
>
>       ./configure \
>        --prefix=/usr/local/bacula \
>        --with-systemd=(any path) \
>        ...
>
> the .service files are created
>
>       find . | grep .service$
>               ./platforms/systemd/bacula-dir.service
>               ./platforms/systemd/bacula-sd.service
>               ./platforms/systemd/bacula-fd.service
>
> but a subsequent
>
>       make install
>
> does not actually install them.
>
> WHat's the purpose of the
>
>       --with-systemd=(anypath)
>
> if not to install them there?
>
> also, the default systemd= value check in configure execs,
>
>       SYSTEMD_UNITDIR="`systemctl show | grep UnitPath | cut -d " " -f2`"
>
> On this system
>
>       systemctl show | grep UnitPath
>               UnitPath=/etc/systemd/system /run/systemd/system
> /run/systemd/generator /usr/local/lib/systemd/system
> /usr/lib/systemd/system /lib/systemd/system
>
> and
>
>       systemctl show | grep UnitPath | cut -d " " -f2
>               /run/systemd/system
>
> which is NOT where unit files are typically installed.
>
> rather
>
>       system-installed -> /usr/lib/systemd/system
>       user-installed   -> /etc/systemd/system
>
> What's the actual directory target intended here?
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>