Add pihole to --linux

This commit is contained in:
Marcus Kammer 2023-11-05 17:18:37 +01:00
parent c4f752b68b
commit 4c101fcaed
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -195,7 +195,8 @@ Takes OPTION as an argument and prints its description."
(defvar mk/remote-*host-aliases*
'(("website" . "marcus@u1.marcuskammer.dev")
("metalisp" . "cl@u1.metalisp.dev"))
("metalisp" . "cl@u1.metalisp.dev")
("pihole" . "ubuntu@pi-hole.fritz.box"))
"Alist mapping friendly host names to actual SSH-compatible host strings.")
(defun mk/remote--get-real-host (alias)
@ -263,3 +264,4 @@ an ALIAS and SERVICE as arguments and call
(mk/define-remote-log-function "website" "nginx" "error.log")
(mk/define-remote-log-function "website" "syslog")
(mk/define-remote-log-function "metalisp" "nginx" "access.csv")
(mk/define-remote-log-function "pihole" "pihole" "pihole.log")