Accepting request 229041 from Base:System

- Also, avoid logrotate unit activation when the system is 
  on battery power. (forwarded request 228918 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/229041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=44
This commit is contained in:
Stephan Kulow 2014-04-05 14:47:48 +00:00 committed by Git OBS Bridge
commit 22aac707b2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 3 17:16:40 UTC 2014 - crrodriguez@opensuse.org
- Also, avoid logrotate unit activation when the system is
on battery power.
-------------------------------------------------------------------
Thu Apr 3 14:10:21 UTC 2014 - crrodriguez@opensuse.org

View File

@ -1,6 +1,7 @@
[Unit]
Description=Rotate log files
Documentation=man:logrotate(8) man:logrotate.conf(5)
ConditionACPower=true
[Service]
Type=oneshot