services: tailscale: Add `ip' command to PATH.

* rosenthal/services/networking.scm (tailscale-shepherd-service)
[start]<#:environment-variables>: Add iproute to PATH.
pull/2/head
Hilton Chain 1 year ago
parent f29a65440d
commit 7bfe230793
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292
  1. 6
      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))

Loading…
Cancel
Save