Run tmux as user unit to get proper systemd environment initialization
This commit is contained in:
parent
3ed58ff14c
commit
ddab0c93f7
1 changed files with 10 additions and 0 deletions
10
.config/systemd/user/tmux.service
Normal file
10
.config/systemd/user/tmux.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Run tmux server
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
ExecStart=/usr/bin/tmux -D -u
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in a new issue