From 7bfe23079354478ba5d13e0dd6a5b2e335ed92f1 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 8 Dec 2023 17:18:04 +0800 Subject: [PATCH] services: tailscale: Add `ip' command to PATH. * rosenthal/services/networking.scm (tailscale-shepherd-service) [start]<#:environment-variables>: Add iproute to PATH. --- rosenthal/services/networking.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rosenthal/services/networking.scm b/rosenthal/services/networking.scm index 1e42382..f4c99b5 100644 --- a/rosenthal/services/networking.scm +++ b/rosenthal/services/networking.scm @@ -456,7 +456,11 @@ to #f.") http-proxy-server socks5-server state-directory state-file tunnel-interface upload-log? verbosity) (let ((environment - #~(list (string-append "PATH=" #$(file-append iptables "/sbin"))))) + #~(list (string-append "PATH=" + (string-join + '(#$(file-append iptables "/sbin") + #$(file-append iproute "/sbin")) + ":"))))) (list (shepherd-service (documentation "Run tailscaled") (provision '(tailscaled))