From 52b9a0f91094888b9dd55d3d5a50cb44887ff3d3 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Mon, 6 May 2024 10:41:53 +0200 Subject: [PATCH] Add path placeholder for telega-server-command and etc-file. --- telega-core.el | 3 +-- telega-customize.el | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/telega-core.el b/telega-core.el index f798b40..2db0d64 100644 --- a/telega-core.el +++ b/telega-core.el @@ -45,8 +45,7 @@ (defun telega-etc-file (filename) "Return absolute path to FILENAME from etc/ directory in telega. Use FILENAME as is if resulting file does not exist." - (let ((abspath (expand-file-name (concat "etc/" filename) - telega--lib-directory))) + (let ((abspath (concat "@TELEGA_SHARE@" "/" filename))) (if (file-exists-p abspath) abspath filename))) diff --git a/telega-customize.el b/telega-customize.el index 8393f0f..cb21465 100644 --- a/telega-customize.el +++ b/telega-customize.el @@ -678,7 +678,7 @@ In range [1..3]. Use 1." :prefix "telega-server-" :group 'telega) -(defcustom telega-server-command "telega-server" +(defcustom telega-server-command "@TELEGA_SERVER_BIN@" "Command to run as telega server. It should be absolute path or binary file searchable in `exec-path'." :type 'string -- 2.41.0 uix/commit/gnu/services/security-token.scm?id=3a8e19a61d785ba651c63a3a5991a6e6dcfba9cb'>commitdiff
path: root/gnu/services/security-token.scm
AgeCommit message (Expand)Author
2023-12-22services: Remove unnecessary references to (gnu build shepherd)....* gnu/services/databases.scm (memcached-shepherd-service): Remove ‘with-imported-modules’ form and ‘modules’ field. * gnu/services/security-token.scm (pcscd-shepherd-service): Remove ‘with-imported-modules’ form. * gnu/services/web.scm (hpcguix-web-shepherd-service): Likewise. Change-Id: Ieb817508f1751e0c1ff551a0e078789a4a813c1c Ludovic Courtès
2022-06-25services: pcscd: Use switch-symlinks from (guix build utils)....switch-symlinks has been moved to (guix build utils). We need not duplicate it anymore. * gnu/services/security-token.scm (pcscd-activation): Use switch-symlinks from (guix build utils). Arun Isaac
2021-07-03services: pcscd: Fix daemon signal handling...."pcscd" wouldn't handle SIGTERM as it inherit ignoring this signal (and others) from its parent shepherd; fork+exec-command restore signal handling. Fixes <https://issues.guix.gnu.org/45202>. * gnu/services/security-token.scm (pcscd)[start]: Use fork+exec-command to start "pcscd". Brice Waegeneire
2021-06-19services: pcscd: Cleanup socket when started....Otherwise when pcscd doesn't terminate properly (ie. receive a SIGKILL), it won't start again because of it's socket already existing. * gnu/services/security-token.scm (pcscd-shepherd-service)[start]: Remove existing socket file. Brice Waegeneire