#!/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 "$@"