ExecStart line in systemd service files.

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


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

> On Thu, 08.08.13 20:55, আনন্দ কুমার সমাদ্দার Ananda Samaddar
> (asamaddar at myopera.com) wrote:
> 
> > Hello all,
> > 
> > I'm in the process of packaking kwakd for Fedora.  On the user list
> > Rahul Sundaram mentioned that the service file should not use a
> > hardcoded path to the binary.
> > 
> > Previously the ExecStart line read like this:
> > 
> > ExecStart=/usr/bin/kwakd -p 80 
> 
> This looks right.
> 
> > 
> > After speaking to upstream and passing on Rahul's comments upstream
> > changed it to this:
> > 
> > ExecStart=kwakd -p 80  
> 
> This looks wrong.
> > 
> > However when using the service file with the above line kwakd fails
> > to start.  I've had a quick look at some already installed service
> > files and they all seem to include the full path to the binary.
> > 
> > Can someone tell me what the correct line should be taking into
> > account Rahul's comment?
> 
> 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?

Ananda


More information about the devel mailing list