Bug 767392 - Provide native systemd service
Summary: Provide native systemd service
Alias: None
Product: Fedora
Classification: Fedora
Component: flow-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Paul P Komkoff Jr
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 751869
TreeView+ depends on / blocked
Reported: 2011-12-13 23:07 UTC by Jóhann B. Guðmundsson
Modified: 2012-04-24 18:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-04-24 18:29:18 UTC

Attachments (Terms of Use)
Native systemd service file for flow capture (307 bytes, text/plain)
2011-12-13 23:09 UTC, Jóhann B. Guðmundsson
no flags Details

Description Jóhann B. Guðmundsson 2011-12-13 23:07:20 UTC
Description of problem:

Let's get the ball rolling on this one...


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Jóhann B. Guðmundsson 2011-12-13 23:09:15 UTC
Created attachment 546442 [details]
Native systemd service file for flow capture

Note that users should copy the unit file to /etc/systemd/system directory and add/edit any options there which is why I did not include /etc/sysconfig/flow-capture as an environment file.

Comment 2 Paul P Komkoff Jr 2011-12-14 13:46:37 UTC
Okay. Who else is using flow-capture?
I was thinking about how to do this better. One option would be to include a template for flow-capture@.service, and then it will be like that-
/etc/sysconfig/flow-capture.NAME has options
and then you enable flow-capture@NAME.service

Comment 3 Jóhann B. Guðmundsson 2011-12-14 14:10:13 UTC
/etc/sysconfig is Red Hat specific while copying flow-capture to /etc/systemd/system/flow-capture-$NAME.service is distro agnostic for all distro using systemd thus more correct way of handling this and more likely to be accepted by upstream when you submit it there.

Ofcourse you can ship both the flow-capture.service and a template flow-capture@.service with specifiers and have users link to that template...

Comment 4 Gwyn Ciesla 2012-04-19 19:51:17 UTC
Paul any objection to my making this change?  I can change the unit file to source the sysconfig.

Comment 5 Gwyn Ciesla 2012-04-24 14:07:13 UTC

Comment 6 Paul P Komkoff Jr 2012-04-24 16:06:39 UTC
No objections. Sorry it took so long to reply. Please, if you can, make the sysconfig change.

Comment 7 Gwyn Ciesla 2012-04-24 18:29:18 UTC
No worries, done, with sysconfig.  Thanks!

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