Commit Graph

6 Commits

Author SHA1 Message Date
Hilton Chain
060204c29e
services: Use match-record.
* rosenthal/services/bittorrent.scm (qbittorrent-configuration)[qbittorrent]:
Change field type to file-like.
(qbittorrent-activation,qbittorrent-shepherd-service): Use match-record-lambda
* rosenthal/services/child-error.scm (miniflux-configuration)[miniflux],
(cloudflare-tunnel-configuration)[cloudflared]: Change field type to file-like
(clash-activation,clash-shepherd-service,cloudflare-tunnel-shepherd-service)
(cloudflare-warp-shepherd-service,miniflux-shepherd-service)
(home-wakapi-shepherd-service,home-socks2http-shepherd-service): Use
match-record-lambda.
* rosenthal/services/dns.scm (smartdns-configuration)[smartdns]: Change field
type to file-like.
(smartdns-shepherd-service): Use match-record-lambda.
* rosenthal/services/networking.scm (iwd-configuration)[iwd]: Change field
type to file-like.
(iwd-shepherd-service,iwd-etc-service): Use match-record-lambda.
2023-08-08 13:57:56 +08:00
Hilton Chain
5b132c8844
services: smartdns: Rename config to config-file.
* rosenthal/services/dns.scm (smartdns-configuration)[config]: Rename to ...
[config-file]: ...this.
(smartdns-shepherd-service): Switch to match-record.
[start]: Adjust accordingly.
2023-07-07 15:28:22 +08:00
Hilton Chain
b717b87fcd
services: smartdns: Remove log-file option.
It's already configured in the config flie.

* rosenthal/services/dns.scm (smartdns-configuration)[log-file]: Remove field.
(smartdns-shepherd-service): Adjust MATCH-LAMBDA.
[start]: Remove "-x" option.
<#:log-file>: Remove field.
2023-07-07 14:57:36 +08:00
Hilton Chain
698731e230
rosenthal: Remove smartdns. [upstreamed]
* rosenthal/packages/dns.scm (smartdns): Delete variable.
2023-02-12 11:42:50 +08:00
Hilton Chain
37d9e02d76
services: smartdns-service-type: Add option to specify log file.
* rosenthal/services/dns.scm (smartdns-configuration): Add log-file option.
(smartdns-shepherd-service): Honor it.
2022-12-10 00:06:22 +08:00
Hilton Chain
a1e7e1df3c
services: Add smartdns-service-type.
* rosenthal/services/dns.scm: New file.
(smartdns-configuration,smartdns-shepherd-service,smartdns-service-type): New
variables.
2022-12-06 17:59:36 +08:00