From: Tristan Kohl via <help-guix@gnu.org>
To: help-guix@gnu.org
Subject: Re: How to configure smartd and send notifications?
Date: Mon, 20 May 2024 15:56:50 +0200 [thread overview]
Message-ID: <BC5F8AF8-1014-471B-B13B-5B7768055C79@ymail.com> (raw)
In-Reply-To: <87seycu3df.fsf@lease-up.com>
Hello Felix,
it works, thank you!
Though I could have sworn I tried this last night...
@all
Does anyone know how I would receive the store path from the generated smartd-send-ntfy script so I can pass it to smartd-config-file?
I did mess around a bit more and I think I am closer to the solution by now:
(define smartd-send-ntfy
"send-ntfy"
"#!/bin/sh\ncurl ..."))
(define smartd-config-file
(plain-file
"smartd.conf"
(string-append
"... -M exec "
smartd-send-ntfy)))
On 20 May 2024 13:30:52 CEST, Felix Lechner <felix.lechner@lease-up.com> wrote:
>Hi Tristan,
>
>On Mon, May 20 2024, Tristan Kohl via wrote:
>
>> (list "/run/current-system/profile/sbin/smartd" "--no-fork" "-c" smartd-config-file)))
>> warning "possibly unbound variable smartd-config-file".
>
>Please quoteg the variable smartd-config-file as #$smartd-config-file
>inside the G-expression. Did it work?
>
>Kind regards
>Felix
next prev parent reply other threads:[~2024-05-20 13:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4D873504-6540-477A-A2DB-DE293395CAFC.ref@ymail.com>
2024-05-19 22:48 ` How to configure smartd and send notifications? Tristan Kohl via
2024-05-20 11:30 ` Felix Lechner via
2024-05-20 13:56 ` Tristan Kohl via [this message]
2024-05-20 15:04 ` Felix Lechner via
2024-05-20 19:15 ` Tristan Kohl via
2024-05-20 23:42 ` Felix Lechner via
2024-05-21 15:33 ` Tristan Kohl via
2024-05-21 15:50 ` Tomas Volf
2024-05-23 19:25 ` Tristan Kohl via
2024-05-24 4:10 ` Felix Lechner via
2024-05-24 10:19 ` Tomas Volf
2024-05-31 13:42 ` Tristan Kohl via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BC5F8AF8-1014-471B-B13B-5B7768055C79@ymail.com \
--to=help-guix@gnu.org \
--cc=blobbyjj@ymail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).