We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11f0730 commit 62f6525Copy full SHA for 62f6525
scripts/handle_tmux_automatic_start/systemd_enable.sh
@@ -49,6 +49,9 @@ main() {
49
local systemd_tmux_server_start_cmd="$(get_tmux_option "${systemd_tmux_server_start_cmd_option}" "${systemd_tmux_server_start_cmd_default}" )"
50
local tmux_start_script_path="${CURRENT_DIR}/linux_start_tmux.sh"
51
local systemd_unit_file=$(template "${tmux_start_script_path}" "${options}")
52
+ if [[ ! -d $( dirname $systemd_unit_file_path ) ]]; then
53
+ mkdir -p $(dirname $systemd_unit_file_path)
54
+ fi
55
echo "$systemd_unit_file" > "${systemd_unit_file_path}"
56
enable_tmux_unit_on_boot
57
}
0 commit comments