-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rosey-bot[bot]
committed
Jul 22, 2023
1 parent
2580539
commit 8d79317
Showing
4 changed files
with
52 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -452,21 +452,19 @@ <h2 id="system"><a class="header" href="#system">System</a></h2> | |
</li> | ||
</ol> | ||
<h2 id="notifications"><a class="header" href="#notifications">Notifications</a></h2> | ||
<ol> | ||
<li>Add or replace file <code>/etc/aliases</code></li> | ||
</ol> | ||
<div id="admonition-info" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="#admonition-info"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart msmtpd after changing: `sudo systemctl restart msmtpd.service` | ||
</code></pre> | ||
<p>Restart msmtpd after changing: <code>sudo systemctl restart msmtpd.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
mailer-daemon: postmaster@ | ||
<ol> | ||
<li> | ||
<p>Add or replace file <code>/etc/aliases</code></p> | ||
<pre><code class="language-text">mailer-daemon: postmaster@ | ||
postmaster: root@ | ||
nobody: root@ | ||
hostmaster: root@ | ||
|
@@ -479,23 +477,22 @@ <h2 id="notifications"><a class="header" href="#notifications">Notifications</a> | |
noc: root@ | ||
security: root@ | ||
root: [email protected] | ||
``` | ||
</code></pre> | ||
<ol start="2"> | ||
<li>Add or replace file <code>/etc/msmtprc</code></li> | ||
</li> | ||
</ol> | ||
<div id="admonition-info-1" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="#admonition-info-1"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart msmtpd after changing: `sudo systemctl restart msmtpd.service` | ||
</code></pre> | ||
<p>Restart msmtpd after changing: <code>sudo systemctl restart msmtpd.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
defaults | ||
<ol start="2"> | ||
<li> | ||
<p>Add or replace file <code>/etc/msmtprc</code></p> | ||
<pre><code class="language-text">defaults | ||
auth off | ||
tls off | ||
tls_trust_file /etc/ssl/certs/ca-certificates.crt | ||
|
@@ -510,48 +507,47 @@ <h2 id="notifications"><a class="header" href="#notifications">Notifications</a> | |
account default: maddy | ||
|
||
aliases /etc/aliases | ||
``` | ||
</code></pre> | ||
<ol start="3"> | ||
<li>Add or replace file <code>/etc/smartd.conf</code></li> | ||
</li> | ||
</ol> | ||
<div id="admonition-info-2" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="#admonition-info-2"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart smartd after changing: `sudo systemctl restart smartd.service` | ||
</code></pre> | ||
<p>Restart smartd after changing: <code>sudo systemctl restart smartd.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
DEVICESCAN -a -o on -S on -n standby,q -s (S/../.././02|L/../../6/03) -W 4,35,40 -m [email protected] | ||
``` | ||
<ol start="3"> | ||
<li> | ||
<p>Add or replace file <code>/etc/smartd.conf</code></p> | ||
<pre><code class="language-text">DEVICESCAN -a -o on -S on -n standby,q -s (S/../.././02|L/../../6/03) -W 4,35,40 -m [email protected] | ||
</code></pre> | ||
<ol start="4"> | ||
<li>Add or replace file <code>/etc/zfs/zed.d/zed.rc</code></li> | ||
</li> | ||
</ol> | ||
<div id="admonition-info-3" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="#admonition-info-3"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart zed after changing: `sudo systemctl restart zed.service` | ||
</code></pre> | ||
<p>Restart zed after changing: <code>sudo systemctl restart zed.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
ZED_DEBUG_LOG="/var/log/zed.debug.log" | ||
<ol start="4"> | ||
<li> | ||
<p>Add or replace file <code>/etc/zfs/zed.d/zed.rc</code></p> | ||
<pre><code class="language-text">ZED_DEBUG_LOG="/var/log/zed.debug.log" | ||
ZED_EMAIL_ADDR="[email protected]" | ||
ZED_EMAIL_PROG="mail" | ||
ZED_EMAIL_OPTS="-s '@SUBJECT@' @ADDRESS@ -r [email protected]" | ||
ZED_NOTIFY_VERBOSE=1 | ||
ZED_NOTIFY_DATA=1 | ||
ZED_USE_ENCLOSURE_LEDS=1 | ||
``` | ||
</code></pre> | ||
</li> | ||
</ol> | ||
<h2 id="misc"><a class="header" href="#misc">Misc</a></h2> | ||
<h3 id="badblocks"><a class="header" href="#badblocks">Badblocks</a></h3> | ||
<div id="admonition-warning" class="admonition warning"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -603,21 +603,19 @@ <h2 id="system"><a class="header" href="#system">System</a></h2> | |
</li> | ||
</ol> | ||
<h2 id="notifications"><a class="header" href="#notifications">Notifications</a></h2> | ||
<ol> | ||
<li>Add or replace file <code>/etc/aliases</code></li> | ||
</ol> | ||
<div id="admonition-info" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="notes/nas.html#admonition-info"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart msmtpd after changing: `sudo systemctl restart msmtpd.service` | ||
</code></pre> | ||
<p>Restart msmtpd after changing: <code>sudo systemctl restart msmtpd.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
mailer-daemon: postmaster@ | ||
<ol> | ||
<li> | ||
<p>Add or replace file <code>/etc/aliases</code></p> | ||
<pre><code class="language-text">mailer-daemon: postmaster@ | ||
postmaster: root@ | ||
nobody: root@ | ||
hostmaster: root@ | ||
|
@@ -630,23 +628,22 @@ <h2 id="notifications"><a class="header" href="#notifications">Notifications</a> | |
noc: root@ | ||
security: root@ | ||
root: [email protected] | ||
``` | ||
</code></pre> | ||
<ol start="2"> | ||
<li>Add or replace file <code>/etc/msmtprc</code></li> | ||
</li> | ||
</ol> | ||
<div id="admonition-info-1" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="notes/nas.html#admonition-info-1"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart msmtpd after changing: `sudo systemctl restart msmtpd.service` | ||
</code></pre> | ||
<p>Restart msmtpd after changing: <code>sudo systemctl restart msmtpd.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
defaults | ||
<ol start="2"> | ||
<li> | ||
<p>Add or replace file <code>/etc/msmtprc</code></p> | ||
<pre><code class="language-text">defaults | ||
auth off | ||
tls off | ||
tls_trust_file /etc/ssl/certs/ca-certificates.crt | ||
|
@@ -661,48 +658,47 @@ <h2 id="notifications"><a class="header" href="#notifications">Notifications</a> | |
account default: maddy | ||
|
||
aliases /etc/aliases | ||
``` | ||
</code></pre> | ||
<ol start="3"> | ||
<li>Add or replace file <code>/etc/smartd.conf</code></li> | ||
</li> | ||
</ol> | ||
<div id="admonition-info-2" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="notes/nas.html#admonition-info-2"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart smartd after changing: `sudo systemctl restart smartd.service` | ||
</code></pre> | ||
<p>Restart smartd after changing: <code>sudo systemctl restart smartd.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
DEVICESCAN -a -o on -S on -n standby,q -s (S/../.././02|L/../../6/03) -W 4,35,40 -m [email protected] | ||
``` | ||
<ol start="3"> | ||
<li> | ||
<p>Add or replace file <code>/etc/smartd.conf</code></p> | ||
<pre><code class="language-text">DEVICESCAN -a -o on -S on -n standby,q -s (S/../.././02|L/../../6/03) -W 4,35,40 -m [email protected] | ||
</code></pre> | ||
<ol start="4"> | ||
<li>Add or replace file <code>/etc/zfs/zed.d/zed.rc</code></li> | ||
</li> | ||
</ol> | ||
<div id="admonition-info-3" class="admonition info"> | ||
<div class="admonition-title"> | ||
<p>Info</p> | ||
<p><a class="admonition-anchor-link" href="notes/nas.html#admonition-info-3"></a></p> | ||
</div> | ||
<div> | ||
<pre><code>Restart zed after changing: `sudo systemctl restart zed.service` | ||
</code></pre> | ||
<p>Restart zed after changing: <code>sudo systemctl restart zed.service</code></p> | ||
</div> | ||
</div> | ||
<pre><code>```text | ||
ZED_DEBUG_LOG="/var/log/zed.debug.log" | ||
<ol start="4"> | ||
<li> | ||
<p>Add or replace file <code>/etc/zfs/zed.d/zed.rc</code></p> | ||
<pre><code class="language-text">ZED_DEBUG_LOG="/var/log/zed.debug.log" | ||
ZED_EMAIL_ADDR="[email protected]" | ||
ZED_EMAIL_PROG="mail" | ||
ZED_EMAIL_OPTS="-s '@SUBJECT@' @ADDRESS@ -r [email protected]" | ||
ZED_NOTIFY_VERBOSE=1 | ||
ZED_NOTIFY_DATA=1 | ||
ZED_USE_ENCLOSURE_LEDS=1 | ||
``` | ||
</code></pre> | ||
</li> | ||
</ol> | ||
<h2 id="misc"><a class="header" href="#misc">Misc</a></h2> | ||
<h3 id="badblocks"><a class="header" href="#badblocks">Badblocks</a></h3> | ||
<div id="admonition-warning" class="admonition warning"> | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.