Bug 878088

Summary: RFE: allow to re-define ExecStart directive
Product: [Fedora] Fedora Reporter: Honza Horak <hhorak>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: johannbg, lczerner, lnykryn, metherid, mschmidt, msekleta, notting, plautrba, systemd-maint, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-19 16:16:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Honza Horak 2012-11-19 16:07:53 UTC
Description of problem:
When user wants to re-define anything in a unit file, he's supposed to create a new unit file in /etc/systemd/system/name.service and use .include directive. 

Suppose we need to add one argument to daemon binary in a service of type "Simple". Then we'd use something like this:

.include /lib/systemd/system/foo.service
[Service]
ExecStart=/usr/bin/foo -new -args ...

But this is not possible, because systemd reports an error, that we want to define ExecStart twice in a service of type Simple. But we don't, we want just re-define it. systemd should be able to do that, since changing arguments of a daemon binary is quite common task.

Version-Release number of selected component (if applicable):
systemd-195-7.fc18.x86_64

Comment 1 Michal Schmidt 2012-11-19 16:16:24 UTC

*** This bug has been marked as a duplicate of bug 756787 ***