diff options
author | bptato <nincsnevem662@gmail.com> | 2024-05-16 18:35:22 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-05-16 18:58:13 +0200 |
commit | ed84d7223fd8945705dcedd204fee137b249c524 (patch) | |
tree | 3539b9ccb5af2de6ad66e6d3362bff83abc1df88 /res | |
parent | 87a5c636eb203cd066a620129f93c30b02245ad9 (diff) | |
download | chawan-ed84d7223fd8945705dcedd204fee137b249c524.tar.gz |
config: separate tmp dir for sockets, users
* add $LOGNAME to the tmp directory name, so that tmpdirs of separate users don't conflict * use separate directory for sockets, so that we do not have to give buffers access to all cached pages
Diffstat (limited to 'res')
-rw-r--r-- | res/config.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml index 23f37846..f126467c 100644 --- a/res/config.toml +++ b/res/config.toml @@ -237,7 +237,8 @@ urimethodmap = [ "/etc/urimethodmap", "/usr/local/etc/w3m/urimethodmap" ] -tmpdir = "/tmp/cha" +tmpdir = "/tmp/cha-tmp-$LOGNAME" +sockdir = "/tmp/cha-sock-$LOGNAME" editor = "${EDITOR:-vi}" cgi-dir = "${%CHA_LIBEXEC_DIR}/cgi-bin" download-dir = "/tmp/" |