mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-03-05 01:15:14 +00:00
services: Remove unnecessary extensions of log-rotation-service-type.
Log files specified via service constructors are already covered. * modules/rosenthal/services/child-error.scm (clash-service-type) (cloudflare-tunnel-service-type) * modules/rosenthal/services/mail.scm (docker-mailserver-service-type) * modules/rosenthal/services/monitoring.scm (alloy-service-type) (grafana-service-type, loki-service-type, mimir-service-type) (prometheus-service-type) * modules/rosenthal/services/networking.scm (sing-box-service-type) (tailscale-service-type) * modules/rosenthal/services/web.scm (iocaine-service-type) (jellyfin-service-type, misskey-service-type, vaultwarden-service-type): Stop extending log-rotation-service-type.
This commit is contained in:
parent
4f9123400b
commit
ef4bdc962c
@ -122,9 +122,7 @@
|
|||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
clash-activation)
|
clash-activation)
|
||||||
(service-extension account-service-type
|
(service-extension account-service-type
|
||||||
clash-account)
|
clash-account)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list clash-configuration-log-file))))
|
|
||||||
(default-value (clash-configuration))
|
(default-value (clash-configuration))
|
||||||
(description "Run Clash.")))
|
(description "Run Clash.")))
|
||||||
|
|
||||||
@ -220,9 +218,7 @@ headers. This can expose sensitive information in your logs.")
|
|||||||
(list (service-extension shepherd-root-service-type
|
(list (service-extension shepherd-root-service-type
|
||||||
cloudflare-tunnel-shepherd-service)
|
cloudflare-tunnel-shepherd-service)
|
||||||
(service-extension account-service-type
|
(service-extension account-service-type
|
||||||
cloudflare-tunnel-account)
|
cloudflare-tunnel-account)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list cloudflare-tunnel-configuration-log-file))))
|
|
||||||
(default-value (cloudflare-tunnel-configuration))
|
(default-value (cloudflare-tunnel-configuration))
|
||||||
(description "Run cloudflared, the Cloudflare Tunnel daemon.")))
|
(description "Run cloudflared, the Cloudflare Tunnel daemon.")))
|
||||||
|
|
||||||
|
|||||||
@ -73,9 +73,7 @@
|
|||||||
(name 'docker-mailserver)
|
(name 'docker-mailserver)
|
||||||
(extensions
|
(extensions
|
||||||
(list (service-extension oci-service-type
|
(list (service-extension oci-service-type
|
||||||
docker-mailserver-oci)
|
docker-mailserver-oci)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list docker-mailserver-configuration-log-file))))
|
|
||||||
(default-value (docker-mailserver-configuration))
|
(default-value (docker-mailserver-configuration))
|
||||||
(description "Run Docker Mailserver.")))
|
(description "Run Docker Mailserver.")))
|
||||||
|
|
||||||
|
|||||||
@ -83,9 +83,7 @@
|
|||||||
(list (service-extension activation-service-type
|
(list (service-extension activation-service-type
|
||||||
alloy-activation)
|
alloy-activation)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
alloy-shepherd)
|
alloy-shepherd)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(const '("/var/log/alloy.log")))))
|
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -190,9 +188,7 @@
|
|||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
grafana-activation)
|
grafana-activation)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
grafana-shepherd)
|
grafana-shepherd)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(const '("/var/log/grafana.log")))))
|
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -285,9 +281,7 @@
|
|||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
loki-activation)
|
loki-activation)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
loki-shepherd)
|
loki-shepherd)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(const '("/var/log/loki.log")))))
|
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -380,9 +374,7 @@
|
|||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
mimir-activation)
|
mimir-activation)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
mimir-shepherd)
|
mimir-shepherd)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(const '("/var/log/mimir.log")))))
|
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -479,7 +471,5 @@
|
|||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
prometheus-activation)
|
prometheus-activation)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
prometheus-shepherd)
|
prometheus-shepherd)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(const '("/var/log/prometheus.log")))))
|
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|||||||
@ -97,9 +97,7 @@
|
|||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
sing-box-activation)
|
sing-box-activation)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
sing-box-shepherd-service)
|
sing-box-shepherd-service)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list sing-box-configuration-log-file))))
|
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -170,8 +168,6 @@ to #f.")
|
|||||||
(list (service-extension shepherd-root-service-type
|
(list (service-extension shepherd-root-service-type
|
||||||
tailscale-shepherd-service)
|
tailscale-shepherd-service)
|
||||||
(service-extension profile-service-type
|
(service-extension profile-service-type
|
||||||
(compose list tailscale-configuration-tailscale))
|
(compose list tailscale-configuration-tailscale))))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list tailscale-configuration-log-file))))
|
|
||||||
(default-value (tailscale-configuration))
|
(default-value (tailscale-configuration))
|
||||||
(description "Run tailscaled.")))
|
(description "Run tailscaled.")))
|
||||||
|
|||||||
@ -471,9 +471,7 @@ test its configuration file."))
|
|||||||
(service-extension etc-service-type
|
(service-extension etc-service-type
|
||||||
iocaine-etc)
|
iocaine-etc)
|
||||||
(service-extension shepherd-root-service-type
|
(service-extension shepherd-root-service-type
|
||||||
iocaine-shepherd-service)
|
iocaine-shepherd-service)))
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list iocaine-configuration-log-file))))
|
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -563,8 +561,6 @@ test its configuration file."))
|
|||||||
jellyfin-account)
|
jellyfin-account)
|
||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
jellyfin-activation)
|
jellyfin-activation)
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list jellyfin-configuration-log-file))
|
|
||||||
(service-extension oci-service-type
|
(service-extension oci-service-type
|
||||||
jellyfin-oci)))
|
jellyfin-oci)))
|
||||||
(default-value (jellyfin-configuration))
|
(default-value (jellyfin-configuration))
|
||||||
@ -732,8 +728,6 @@ test its configuration file."))
|
|||||||
misskey-account)
|
misskey-account)
|
||||||
(service-extension postgresql-role-service-type
|
(service-extension postgresql-role-service-type
|
||||||
misskey-postgresql-role)
|
misskey-postgresql-role)
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list misskey-configuration-log-file))
|
|
||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
misskey-activation)
|
misskey-activation)
|
||||||
(service-extension oci-service-type
|
(service-extension oci-service-type
|
||||||
@ -939,8 +933,6 @@ test its configuration file."))
|
|||||||
vaultwarden-postgresql-role)
|
vaultwarden-postgresql-role)
|
||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
vaultwarden-activation)
|
vaultwarden-activation)
|
||||||
(service-extension log-rotation-service-type
|
|
||||||
(compose list vaultwarden-configuration-log-file))
|
|
||||||
(service-extension oci-service-type
|
(service-extension oci-service-type
|
||||||
vaultwarden-oci)))
|
vaultwarden-oci)))
|
||||||
(description "Run Vaultwarden, a Bitwarden compatible server.")))
|
(description "Run Vaultwarden, a Bitwarden compatible server.")))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user