Bug 878088 - RFE: allow to re-define ExecStart directive
Summary: RFE: allow to re-define ExecStart directive
Keywords:
Status: CLOSED DUPLICATE of bug 756787
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 18
Hardware: Unspecified
OS: All
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-19 16:07 UTC by Honza Horak
Modified: 2012-11-19 16:16 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-19 16:16:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.