summary refs log tree commit diff
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2021-03-10 00:57:38 +0100
committerJune McEnroe <june@causal.agency>2021-03-10 20:24:39 -0500
commit441f561f72090a30d1e17e015c3e5257a70ecd85 (patch)
tree3117b7f0525b66e03872c32c2f5a56b4624db8f2
parentAttempt to clarify trust option use (diff)
downloadcatgirl-441f561f72090a30d1e17e015c3e5257a70ecd85.tar.gz
catgirl-441f561f72090a30d1e17e015c3e5257a70ecd85.zip
chat.tmux.conf: use config_files format for reload
The recent addition of "#{source_files}" allows us to avoid hardcoding
the file name and instead ask tmux itself for the very file it used to
create the session in the first place, i.e. "-f ./chat.tmux.conf".
-rw-r--r--scripts/chat.tmux.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/chat.tmux.conf b/scripts/chat.tmux.conf
index e58f955..7ef6ccb 100644
--- a/scripts/chat.tmux.conf
+++ b/scripts/chat.tmux.conf
@@ -49,7 +49,7 @@ bind-key -n -N 'toggle fullscreen'	-- F11	set status
 # this configuration is idempotent, i.e. reloading it only changes settings
 # and never duplicates already existing windows
 bind-key -N 'reload configuration'	-- R	{
-	source-file	-- ./chat.tmux.conf
+	source-file -F	-- '#{source_files}'
 	display-message	-- 'configuration reloaded'
 }
 
reset interval after which restart interval is resetJune McEnroe 2020-08-15Log when service name pattern doesn't matchJune McEnroe 2020-08-15Add FreeBSD rc scriptJune McEnroe I'm expecting to also have an OpenBSD rc script. 2020-08-15Call setproctitle with number of servicesJune McEnroe 2020-08-15Rename project to catsitJune McEnroe 2020-08-15Use only LOG_NOTICE and LOG_WARNINGJune McEnroe These are the two priorities that go to a normal place (/var/log/messages) by default. 2020-08-15Make log messages consistentJune McEnroe 2020-08-15Remove closelog callJune McEnroe It's unclear whether closelog is really safe to call in pre-exec context, so just trust that the log is opened with CLOEXEC. 2020-08-15Implement service statusJune McEnroe 2020-08-15Parse control commandsJune McEnroe 2020-08-15Read service pipesJune McEnroe Changed line reading functions to return const char * because modifying the strings by adding '\0' into them screws up the following call. 2020-08-15Implement non-blocking line-buffered readingJune McEnroe 2020-08-15Generate tags fileJune McEnroe 2020-08-15Just use CLOCK_MONOTONIC and clean up includesJune McEnroe CLOCK_MONOTONIC exists everywhere. 2020-08-15Reap childrenJune McEnroe 2020-08-14Implement serviceSignal, serviceStop, serviceRestartJune McEnroe 2020-08-14Reset restartInterval and restartDeadline on startJune McEnroe 2020-08-14Switch to timespec for timeoutsJune McEnroe Can be passed to ppoll(2) directly. 2020-08-14Implement serviceStartJune McEnroe 2020-08-14Flesh out Service structJune McEnroe 2020-08-14Build environment for servicesJune McEnroe 2020-08-14Implement spawntab parsingJune McEnroe 2020-08-14Open syslog, daemonize, write PIDJune McEnroe 2020-08-14Implement user and group lookupJune McEnroe 2020-08-14Add install targetJune McEnroe 2020-08-14Add spawnd skeletonJune McEnroe