From 6ed3078f47c0bb05418637df4ca475bc2f55d22d Mon Sep 17 00:00:00 2001 From: neynt Date: Sat, 14 Oct 2017 11:25:00 -0400 Subject: [PATCH] Make user systemd dir if it doesn't exist --- scripts/handle_tmux_automatic_start/systemd_enable.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/handle_tmux_automatic_start/systemd_enable.sh b/scripts/handle_tmux_automatic_start/systemd_enable.sh index b68442b..d37c889 100755 --- a/scripts/handle_tmux_automatic_start/systemd_enable.sh +++ b/scripts/handle_tmux_automatic_start/systemd_enable.sh @@ -49,6 +49,7 @@ main() { local systemd_tmux_server_start_cmd="$(get_tmux_option "${systemd_tmux_server_start_cmd_option}" "${systemd_tmux_server_start_cmd_default}" )" local tmux_start_script_path="${CURRENT_DIR}/linux_start_tmux.sh" local systemd_unit_file=$(template "${tmux_start_script_path}" "${options}") + mkdir -p "$(dirname ${systemd_unit_file_path})" echo "$systemd_unit_file" > "${systemd_unit_file_path}" enable_tmux_unit_on_boot }