mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 05:14:22 +02:00
systemd: use systemd to start tmux server
This commit is contained in:
parent
2463736fdc
commit
95dd95e4ce
4 changed files with 9 additions and 1 deletions
|
@ -4,6 +4,7 @@ PartOf=graphical-session@%i.target
|
|||
After=autorandr@%i.service
|
||||
After=compton@%i.service
|
||||
After=xsettingsd@%i.service
|
||||
After=tmux.service
|
||||
Before=nm-applet@%i.service
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -12,3 +12,4 @@ Wants=redshift@%i.service
|
|||
Wants=xiccd@%i.service
|
||||
Wants=xsettingsd@%i.service
|
||||
Wants=xss-lock@%i.service
|
||||
Wants=tmux.service
|
||||
|
|
7
systemd/tmux.service
Normal file
7
systemd/tmux.service
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=tmux session
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/tmux start-server
|
||||
ExecStop=/usr/bin/tmux kill-server
|
Loading…
Add table
Add a link
Reference in a new issue