Difference between revisions of "DNF Automatic"

From Amahi Wiki
Jump to: navigation, search
(Created page with "Amahi [https://www.amahi.org/apps/dnf-automatic DNF automatic] is an application to automate Fedora updates. The configuration file is <i>/etc/dnf/automatic.conf</i>. = Upda...")
 
Line 2: Line 2:
  
 
The configuration file is <i>/etc/dnf/automatic.conf</i>.
 
The configuration file is <i>/etc/dnf/automatic.conf</i>.
 
+
<ul>
= Update Type (options are <code>default or security</code>):
+
<li><b>Updates</b></li>
upgrade_type = default
+
<ul>
 
+
<li>Update Type (options are <code>default or security</code>):<br \>
= Download Updates (options are <code>yes or no</code>):
+
<pre>upgrade_type = default</pre></li>
download_updates = yes
+
<li>Download Updates (options are <code>yes or no</code>):<br \>
 
+
<pre>download_updates = yes</pre></li>
= Apply Updates (options are <code>yes or no</code>):
+
<li>Apply Updates (options are <code>yes or no</code>):<br \>
apply_updates = no
+
<pre>apply_updates = no</pre></li>
 
+
</ul>
= Message Reporting
+
<li><b>Message Reporting</b></li>
Change the following line (options are <code>stdio, email, motd</code>):
+
<ul>
emit_via = motd
+
<li>Change the following line (options are <code>stdio, email, motd</code>):<br \>
 
+
<pre>emit_via = motd</pre></li>
== Email Message Reporting (HDA must be configured to send email)
+
<li>Email Message Reporting (HDA must be configured to send email)<br \>
Change the following lines:
+
<pre>email_from = root@example.com</pre><br \>
email_from = root@example.com
+
<pre>email_to = root</pre><br \>
email_to = root
+
<pre>email_host = localhost</pre></li>
email_host = localhost
+
</ul>
 
+
</ul>
 +
<br \>
 
Once changes have been completed, you need to restart it:
 
Once changes have been completed, you need to restart it:
  systemctl restart dnf-automatic
+
  systemctl restart dnf-automatic<br \>

Revision as of 18:34, 30 May 2020

Amahi DNF automatic is an application to automate Fedora updates.

The configuration file is /etc/dnf/automatic.conf.

  • Updates
    • Update Type (options are default or security):
      upgrade_type = default
    • Download Updates (options are yes or no):
      download_updates = yes
    • Apply Updates (options are yes or no):
      apply_updates = no
  • Message Reporting
    • Change the following line (options are stdio, email, motd):
      emit_via = motd
    • Email Message Reporting (HDA must be configured to send email)
      email_from = root@example.com

      email_to = root

      email_host = localhost


Once changes have been completed, you need to restart it:

systemctl restart dnf-automatic