Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 580353 Details for
Bug 642773
Review Request: iguanaIR - Driver for Iguanaworks USB IR transceiver
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for logging, revised service file version2
01-revised-service-and-logging.patch (text/plain), 1.66 KB, created by
Alec Leamas
on 2012-04-26 05:30:58 UTC
(
hide
)
Description:
Fix for logging, revised service file version2
Filename:
MIME Type:
Creator:
Alec Leamas
Created:
2012-04-26 05:30:58 UTC
Size:
1.66 KB
patch
obsolete
>Revised service file and log file management > >From: Alec Leamas <leamas.alec@gmail.com> > >Use Type=simple to simplify systemd's pd tracking. Run as >iguanair:iguanair user and group. Create a log directory >where iguanair can write and use that for log file. >--- > > iguanaIR.service | 12 ++++++++---- > iguanaIR.spec | 5 ++++- > 2 files changed, 12 insertions(+), 5 deletions(-) > > >diff --git a/iguanaIR.service b/iguanaIR.service >index 7a6d80c..e149be9 100644 >--- a/iguanaIR.service >+++ b/iguanaIR.service >@@ -1,10 +1,14 @@ > [Unit] >-Description=Iguanaworks USB IR transceiver >+Description=Iguanaworks USB IR transceiver daemon > > [Service] >-Type=forking >-ExecStart=/usr/bin/igdaemon --log-level=0 --send-timeout=1000 --receive-timeout=1000 --driver=libusb -l /var/log/iguanaIR.log >+Type=simple >+User=iguanair >+Group=iguanair >+ExecStart=/usr/bin/igdaemon \ >+ --send-timeout=1000 --receive-timeout=1000 \ >+ --driver=libusb --log-level=0 --no-daemon \ >+ --log-file=/var/log/iguanaIR/iguanaIR.log > > [Install] > WantedBy=multi-user.target >- >diff --git a/iguanaIR.spec b/iguanaIR.spec >index 1baafb8..ab88901 100644 >--- a/iguanaIR.spec >+++ b/iguanaIR.spec >@@ -91,6 +91,8 @@ d /run/%{name} 0755 iguanair iguanair > EOF > install -m755 -d $RPM_BUILD_ROOT/run/%{name} > >+install -m755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/iguanaIR >+ > > %pre > getent group iguanair >/dev/null || groupadd -r iguanair >@@ -132,6 +134,7 @@ fi > %config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf > %attr(755, iguanair, iguanair) /lib/udev/devices/%{name} > %attr(755, iguanair, iguanair) /run/%{name} >+%attr(755, iguanair, iguanair) %{_localstatedir}/log/%{name} > > %files devel > %{_includedir}/%{name}.h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 642773
:
580203
| 580353 |
580355
|
580356