Re: ExecStart line in systemd service files.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 08.08.13 20:55, আনন্দ কুমার সমাদ্দার Ananda Samaddar (asamaddar@xxxxxxxxxxx) 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

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux