Run tmux as user unit to get proper systemd environment initialization

This commit is contained in:
Daniel Lundin 2022-08-06 12:13:07 +02:00
parent 3ed58ff14c
commit ddab0c93f7

View 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