ExecStart line in systemd service files.

আনন্দ কুমার সমাদ্দার Ananda Samaddar asamaddar at myopera.com
Fri Aug 9 15:34:50 UTC 2013


On Fri, 9 Aug 2013 17:29:04 +0200
Lennart Poettering <mzerqung at 0pointer.de> wrote:

> On Fri, 09.08.13 16:19, আনন্দ কুমার সমাদ্দার Ananda Samaddar
> (asamaddar at myopera.com) wrote:
> 
> > > ExecStart= requires a full absolute path. Anything else is not
> > > allowed.
> > > 
> > > Lennart
> > > 
> > 
> > Thanks Lennart,
> > 
> > 
> > Have you any pointers towards Michael was saying about
> > configure/make setting the binary path in the service file?
> 
> I have no idea about hte package in question, but be aware that you
> need to pass --prefix=/usr (among other things) to configure for all
> packages packaged for Fedora. This is documented in more detail in
> the Fedora packaging guidelines.
> 
> If you end up with /usr/local in a path then this indicates that you
> didn't pass --prefix=/usr correctly or you found a bug in the upstream
> build scripts.
> 
> Lennart
> 

The package configures and builds fine.  The default %configure macro
automatically sets the prefix to /usr.  Michael was saying that the
binary path in the service file should be set by the configure or make
commands so this would require some knowledge of autoconf.

Ananda


More information about the devel mailing list