This repository has been archived on 2022-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
dot-files/.config/systemd/user/tmux.service
Collin J. Doering a4e9141ecb Merged missed files (due to not being hard linked)
When creating new files that will become part of this repo, if there are
created in ~/ and the copied to ~/.rkd-conf there will not be a hard
link and the files will become out of sync. Either manually hardlinking
them or running the link-conf.sh helper program (located elsewhere
currently).

Emacs configuration at .emacs occasionally falls out of sync
somehow (the hardlink is removed). This needs to be investigated but
happens quite rarely.

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:43 -05:00

15 lines
249 B
Desktop File

[Unit]
Description=Start tmux in detached session
[Service]
Type=oneshot
RemainAfterExit=yes
KillMode=none
User=%I
WorkingDirectory=%h
ExecStart=/usr/bin/tmux -s %h -d
ExecStop=/usr/bin/tmux kill-session -t %h
[Install]
WantedBy=multi-user.target