Bug 789761 - Provide native systemd service
Summary: Provide native systemd service
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lm_sensors
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Pajkovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 751869
TreeView+ depends on / blocked
 
Reported: 2012-02-12 21:00 UTC by Jóhann B. Guðmundsson
Modified: 2014-02-02 22:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-13 13:42:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Native systemd service for sensord (184 bytes, text/plain)
2012-02-12 21:00 UTC, Jóhann B. Guðmundsson
no flags Details

Description Jóhann B. Guðmundsson 2012-02-12 21:00:20 UTC
Description of problem:

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

http://fedoraproject.org/wiki/Features/SysVtoSystemd
https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jóhann B. Guðmundsson 2012-02-12 21:00:58 UTC
Created attachment 561298 [details]
Native systemd service for sensord

Comment 2 Nikola Pajkovsky 2012-02-13 12:42:36 UTC
does this work in systemd ${INTERVAL:+-i $INTERVAL} ?

Comment 3 Jóhann B. Guðmundsson 2012-02-13 12:50:33 UTC
Hmm not without escaping to shell. 

What or rather why exactly do you need it?

Systemd has time units not sure if it's applicable in this case but you should have a look at man systemd.timer and if applicable we could create an sensord.time unit for it there.

Comment 4 Jóhann B. Guðmundsson 2012-02-13 12:54:38 UTC
I should mention that Environment files like /etc/sysconfig/foo are Fedora/Red Hat specific so upstream wont accept that unit if you put it in there and submit it upstream since it's not cross distro usable. 

I also should mention that using environment files like /etc/sysconfig/foo is deprecated.

Administrators should follow this procedure http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F These days...


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