Server/caddy: add status to rust-motd
This commit is contained in:
parent
79a247d9e6
commit
6e885dfbb6
1 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{config, lib, ...}: let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
manualHostname = "manual.everest.tailscale";
|
||||
in {
|
||||
services.caddy = {
|
||||
|
|
@ -34,4 +38,5 @@ in {
|
|||
# in too little time
|
||||
services.caddy.serviceConfig.RestartSec = lib.mkForce "120s";
|
||||
};
|
||||
programs.rust-motd.settings.service_status.Caddy = "caddy";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue