Commit b77a73ce authored by mikhailnov's avatar mikhailnov

ConditionACPower=true

parent df09f45f
......@@ -29,6 +29,7 @@
## Как это работает
### Порядок работы
* если питание от батареи, то завершаем работу до следующего срабатывания таймера
* определяем дистрибутив
* блокируем выключение системы
* выполняем хуки pre-update
......
system-autoupdate (1.6-1) unstable; urgency=low
* Version 1.6
* ConditionACPower=true for system-autoupdate.service
-- Mikhail Novosyolov <[email protected]> Sun, 25 Jun 2018 17:20:00 +0300
system-autoupdate (1.5-1) unstable; urgency=low
* Version 1.5
......
......@@ -5,6 +5,8 @@ After=network-online.target system-autoupdate-sanity.service
# these units do not have 'Install' section and so cannot be enabled or disabled;
# their timers are enabled or disabled.
Conflicts=apt-daily.service apt-daily-upgrade.service dnf-makecache.service
# do not run when supplied from battery
ConditionACPower=true
[Service]
StandardOutput=journal
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment