mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-11-14 06:08:47 +00:00
Switched to forking to better represent server nature of tmux.
- Also added RestartSec option to fix minor issues with restarts trying to start the server before it had fully shutdown.
This commit is contained in:
parent
b495ea2912
commit
fb52a173b8
@ -19,8 +19,7 @@ template() {
|
||||
Documentation=man:tmux(1)
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=True
|
||||
Type=forking
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/usr/bin/tmux ${systemd_tmux_server_start_cmd}
|
||||
|
||||
@ -28,6 +27,8 @@ template() {
|
||||
ExecStop=/usr/bin/tmux kill-server
|
||||
KillMode=none
|
||||
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user