Files
dotfiles/hosts/main/bin/emacs-server
Sebastian Moser 2139920fbc changes
2026-10-02 22:09:50 +02:00

14 lines
252 B
Bash
Executable File

#!/bin/bash
if [[ -v IS_RUNIT ]]; then
exec 2>$LOG_DIR/emacs
exec 1>$LOG_DIR/emacs
unset IS_RUNIT
fi
export DOOMDIR="$CONFIG_DIR/doomdir"
echo $DOOMDIR
echo -------------
exec emacs --init-directory $CONFIG_DIR/src/doom --fg-daemon "$@"