Add nvim headless systemd user service
This commit is contained in:
parent
d09821e863
commit
f9b7a93570
11
home/.config/systemd/user/nvim-headless.service
Normal file
11
home/.config/systemd/user/nvim-headless.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Neovim headless server
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash --login -c 'nvim --headless --listen %h/.var/nvim.socket'
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in a new issue