Github messages for voidlinux
 help / color / mirror / Atom feed
From: lethedata <lethedata@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] tailscale: Add env to exec line in run script
Date: Fri, 25 Oct 2024 06:50:08 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52771@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

There is a new pull request by lethedata against master on the void-packages repository

https://github.com/lethedata/void-packages tailscale
https://github.com/void-linux/void-packages/pull/52771

tailscale: Add env to exec line in run script
Adds conf sourced variable that allows tailscaled environment variables to be set adjusting functionality.

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/52771.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tailscale-52771.patch --]
[-- Type: text/x-diff, Size: 971 bytes --]

From 43ad9c6533c27955d4352411fc831d9c588431c5 Mon Sep 17 00:00:00 2001
From: Echo Nar <echo@lethedata.com>
Date: Thu, 24 Oct 2024 23:43:11 -0500
Subject: [PATCH] tailscale: Add env to exec line in run script

Adds conf sourced variable that allows tailscaled environment variables to be set adjusting functionality.
---
 srcpkgs/tailscale/files/tailscaled/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tailscale/files/tailscaled/run b/srcpkgs/tailscale/files/tailscaled/run
index ee512f66d3eded..f66459516fe08b 100644
--- a/srcpkgs/tailscale/files/tailscaled/run
+++ b/srcpkgs/tailscale/files/tailscaled/run
@@ -3,7 +3,7 @@
 [ -r conf ] && . ./conf
 
 exec 2>&1
-exec /usr/bin/tailscaled                            \
+exec env ${ENV_VARS} /usr/bin/tailscaled            \
         --state=/var/lib/tailscale/tailscaled.state \
         --socket=/var/run/tailscale/tailscaled.sock \
         --port "${PORT:-41641}"                     \

             reply	other threads:[~2024-10-25  4:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-25  4:50 lethedata [this message]
2024-10-25  4:53 ` internet-catte
2024-10-25  4:56 ` lethedata
2024-10-25  4:56 ` [PR PATCH] [Closed]: " lethedata
2024-10-25  4:56 ` lethedata

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52771@inbox.vuxu.org \
    --to=lethedata@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).