Bacula-users

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

2016-02-20 09:01:58
Subject: [Bacula-users] clarify 'with-systemd' usage?
From: PGNet Dev <pgnet.dev AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 20 Feb 2016 05:56:33 -0800
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

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