changes
This commit is contained in:
13
hosts/main/bin/emacs-server
Executable file
13
hosts/main/bin/emacs-server
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user